All Classes Namespaces Functions Properties Pages
SessionId
Getting a session id using a Process Map
If a session id for a particular user is required then there a number of methods in the UserService that will perform this such as Logon3
For this example a resource called 'User' has been created and a variable 'SessionId' of type String has also been created.
Setting up a call to Agility.Sdk.Services.UserService.LogOn3 "Logon3" will look like this:
Logon2.png
Using the session id
The variable SessionId will contain the user's session id assuming the user exists. This can then be used to make other calls that require a session id.
For example DoesResourceExist:
Exists.png
Log off using a session id
The session id can then be used to log the user off:
LogOff.png