Constructor
new Grant(grant)
- Description:
- Constructor
- Source:
Parameters:
Name | Type | Description |
---|---|---|
grant |
object | Grant object |
Members
getSysParam
- Description:
- Alias to
getSystemParameter
- Alias to
- Source:
Alias to
getSystemParameter
Methods
T(code) → {string}
- Description:
- Get text value
- Source:
Parameters:
Name | Type | Description |
---|---|---|
code |
string | Text code |
Returns:
Text value
- Type
- string
getEmail() → {string}
- Description:
- Get email address
- Source:
Returns:
Email address
- Type
- string
getFirstName() → {string}
- Description:
- Alias to
getFirstname
- Alias to
- Source:
Returns:
First name
- Type
- string
getFirstname() → {string}
- Description:
- Get first name
- Source:
Returns:
First name
- Type
- string
getLang() → {string}
- Description:
- Get user language
- Source:
Returns:
User language
- Type
- string
getLastName() → {string}
- Description:
- Alias to
getLastname
- Alias to
- Source:
Returns:
Last name
- Type
- string
getLastname() → {string}
- Description:
- Get last name
- Source:
Returns:
Last name
- Type
- string
getLogin() → {string}
- Description:
- Alias to
getUsername
- Alias to
- Source:
Returns:
Login
- Type
- string
getPictureURL() → {Doc}
- Description:
- Get picture data URL
- Source:
Returns:
Picture data URL
- Type
- Doc
getSystemParameter(name) → {string}
- Description:
- Get system parameter value
- Source:
Parameters:
Name | Type | Description |
---|---|---|
name |
string | System parameter name |
Returns:
System parameter value
- Type
- string
getUserId() → {string}
- Description:
- Get user ID
- Source:
Returns:
User ID
- Type
- string
getUsername() → {string}
- Description:
- Get username
- Source:
Returns:
Username
- Type
- string
hasResponsibility(group) → {boolean}
- Description:
- Has responsibility
- Source:
Parameters:
Name | Type | Description |
---|---|---|
group |
string | Group name |
Returns:
True if user has a responsibility on the specified group
- Type
- boolean