CreateSession Method (ClarifyApplication)
Creates a new ClarifySession and logs in using the username and password for the application.
Creates a new ClarifySession object through which most access to the Clarify System occurs.
Overload List
Overload | Description |
---|---|
CreateSession() | Creates a new ClarifySession and logs in using the username and password for the application. |
CreateSession(String,ClarifyLoginType) | Creates a new ClarifySession and performs a passwordless login for the specified user and ClarifyLoginType. |
CreateSession(String,String,ClarifyLoginType) | Creates a new ClarifySession and performs a login using the specified username, password, and ClarifyLoginType. |
Remarks
There is no way to create a ClarifySession that is not already logged in.
Specific inheritable properties, such as TruncateStringFields, are copied to the new sessions created via this method.
IMPORTANT: By default, using the overload without any parameters, or the overload that takes only a username will throw an exception. This is to help prevent potential security problems that might arise from passwordless or full-access session logins. If you wish to override the security check enable this functionality despite the security implications, please contact First Choice support at support@fchoice.com and request information on how to enable it.
.
Requirements
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server family