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

SaLoginApp

Checks login information against the native login of the OS, if the OS supports it.

Synopsis

#include "SaRnHtml.h"
int SaLoginApp SUTPROTO(());

Arguments

None.

Return Values

Returns a flag indicating whether the login info is a valid OS login.

Description

Checks login information against the native login of the OS, if the OS supports it. This should only be used on operating systems that support a native login function. By default Sapphire will not use native login. To use this function, you must add a login HTML file with certain form elements. See the apploginform.html file in the Sapphire config/htmlstyle directory for the name of the form elements or use the file as is.

Example

int flag;
flag = SaLoginApp();
if(flag == 0)
{
	/** deny service **/
}

See Also



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

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