Grant
This method is used to grant create or default read access rights
Parameters
-
token
The token got by calling Login
Type: string
-
action
Which action to grant: Can be create only
Type: string
-
mainType
The main type of the custom type.
Type: string
-
typeName
The name of the custom type.
Type: string
-
user
User name (In the form Client/Username/Department) or usergroupname who gets the rights granted.
Type: string
Used Return Values
-
GrantResult
String containing code and message. Separated by a comma.
Type: string
Examples:
- 0,Success
- 4, Authentication Error