CreateSessionToken
The CreateSessionToken method validates the username, password, and configuration, and
then returns a session token that allows the user to open a session when any of the other web
service methods (LoadDataSet, SaveDataSet, and so on) are called.
Syntax
public string CreateSessionToken( string strUserId, string strPswd, string strConfig )
Parameters
Name | Description |
---|---|
strUserId | The Mongoose user's username |
strPswd | The Mongoose user's password |
strConfig | The name of the application's configuration |
Output
Returns a session token string, required by other web service methods.
This is an example of a session token:
b/XdI6IQzCviZOGJ0E+002DoKUFOPmVDkwpQDbQjm3w/qkdxDUzmqvSYEZDCmJGWpA23OTlhFpxRHF
z3WOsvay8V58XdIp/UIsr5TpCdMwtW3QXF2ahwQYp2O6GzKlJcx50PzAY5KGW7CHLvMml26H13iSRJ
vZB6an1hQXrBH191JCq6PYlPtGvQUiUMGCjVqzqgXHqaK58T6NkJfMbJv52jB1DyRTvtoshS5RGj1Q
VVPCtuuvkG3O659gM2Q+lFivNleD+erIHoiQFvS1MelxKd5L5fH4PQrZ0RTnIln+AfwmOWxXQTadcq
0NsVR8588DWj/QaqIr/usIVqp4tWMg==
Example
IDOWebService.DOWebServiceSoapClient idoSoapClient = new IDOWebService.DOWebServiceSoapClient(); string token = idoSoapClient?.CreateSessionToken( "jdoe", "sJKam67s", "CSI_DALS" );