[Top] [Prev] [Next] [Bottom]
[Contents]
SaGetDoCommonLog
Gets a flag indicating whether a Sapphire server application should use the native OS login information as the database login information.
#include "SaRnHtml.h"
int SaSetDoCommonLog SUTPROTO((int flag));
Arguments
None.
A flag indicating whether to use the native OS login information also as the database login information.
Gets a flag indicating whether a Sapphire server application should use the native OS login information as the database login information. This should only be used on operating systems that support a native login function. By default Sapphire will not use native login information for the database login. To save a step for the user where the info is the same, set this one property. 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.
int flag;
flag = SaGetDoCommonLog();
if(flag != 0)
{
/*** database login will be same as OS login unless
explicitly set***/
}
See Also
[Top] [Prev] [Next] [Bottom]
[Contents]
info@bluestone.com
Copyright © 1997, Bluestone. All rights
reserved.