Security API
SessionUser
Field name | Description |
---|---|
name | the user name |
the email address | |
userAttributes | the list of atributes associated to this account |
roles | List of the roles assigned to the user (MWP_ADMIN, KBA_MANAGER or USER) |
userType | the type of user can be "NORMAL_USER", "NON_PERSONAL_ACCOUNT" (an account without email address), "ANONYMOUS_USER" (when no log in is needed to access the application) |
passwordExpired | boolean indicating if the password is expire or still active |
Example:
{ "email":"admin@email.com", "name" : "admin", "userAttributes":[], "roles":["MWP_ADMIN"], "userType":"NORMAL_USER", "passwordExpired" : false }