User
Contains information about a User
Method summary
| name | description |
|---|---|
| getAuthorities | The authorities granted to this user. |
| getAuthorityGroups | The authority groups this user belongs to. |
| getEmail | Get the email entered for the user or an empty string if none provided |
| getFirstName | The first name of this user. |
| getFullName | The full name of this user, consisting of their first and last names. |
| getLastName | The last name of this user. |
| getUsername | The username of this user. |
Methods
- getAuthorities ( ) → {Array.<string>}
-
The authorities granted to this user.
detailsReturns:returns table
Back to TopType Description typeArray.<string>The authorities granted to this user - getAuthorityGroups ( ) → {Array.<string>}
-
The authority groups this user belongs to.
detailsReturns:returns table
Back to TopType Description typeArray.<string>The authority groups this user belongs to - getEmail ( ) → {string}
-
Get the email entered for the user or an empty string if none provided
detailsReturns:returns table
Back to TopType Description typestringThe email address of the user or an empty string if none provided - getFirstName ( ) → {string}
-
The first name of this user.
detailsReturns:returns table
Back to TopType Description typestringThe first name of this user - getFullName ( ) → {string}
-
The full name of this user, consisting of their first and last names.
detailsReturns:returns table
Back to TopType Description typestringThe full name of this user - getLastName ( ) → {string}
-
The last name of this user.
detailsReturns:returns table
Back to TopType Description typestringThe last name of this user - getUsername ( ) → {string}
-
The username of this user.
detailsReturns:returns table
Back to TopType Description typestringThe username of this user
method
method
method
method
method
method
method
