[Top] [Prev] [Next] [Bottom] [Contents]

SaIsValidLogin

Checks against the database server to see if the Login information is valid.

Synopsis

#include "SaAddLogin.h"
int SaIsValidLogin(char* server, char* uname, char* passwd);

Arguments

server
The name of the database server to check the login information.
uname
The login name of the user on the database server.
passwd
The user's password on the server.

Return Values

Returns TRUE if the login information is valid and FALSE if invalid.

Description

SaIsValidLogin accepts Login information for a given database server and returns TRUE if the information is valid, FALSE if it's invalid or an internal error occurs. Use this function along with SaAddLogin to bypass the default Login Manager of Sapphire/Web.

See Also



[Top] [Prev] [Next] [Bottom] [Contents]

info@bluestone.com
Copyright © 1997, Bluestone. All rights reserved.