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

SaGetUseAppLogin

Gets a flag indicating whether a Sapphire server application should use native OS login. This should only be used on operating systems that support a native login function.

Synopsis

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

Arguments

None.

Return Values

Returns a flag indicating whether to use native OS login.

Description

Gets a flag indicating whether a Sapphire server application should use native OS login. 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 call it from the final code of the main function. Also 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 = SaGetUseAppLogin();
if(flag)
{
	/*** must be doing native login ***/
}

See Also



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

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