Class User
The User class allows you to get informations about the current user. This can be use to identify the user on a web service.
The Get_PassKey() returns a unique password for each user. This password is never the same between each Alliun's Actions so it is totally secure.
string Get_Login()
Parameters
Returns
| string | The login of the user. |
Description
|
This function returns the login of the current user.
|
boolean Is_Admin()
Parameters
Returns
| boolean | true or false depending if the user is the creator of the object. |
Description
|
This function returns true or false depending if the user is the creator of the object.
It's usually used to check if the user has the right to edit the configuration of the service.
|
string Get_Id()
Parameters
Returns
| string | The id of the user |
Description
|
This function returns the id of the current user.
|
string Get_PassKey()
Parameters
Returns
Description
|
This function returns a unique password that can be use with the service.
|
boolean Is_Registered()
Parameters
Returns
| boolean | true or false depending if the user is a registered Alliun user or not. |
Description
|
This function return true or false depending if the user is a registered Alliun user or not.
|