此内容没有您所选择的语言版本。
9.2. Subject
Represents the current logged-in JBoss ON user.
Method | Signature |
---|---|
subject.addLdapRole |
addLdapRole(Role)
|
subject.addRole |
addRole(Role) addRole(Role, boolean)
|
subject.department | Prints the department value (if any) for the current user. |
subject.emailAddress | Prints the email address for the current user. |
subject.factive | Prints whether the user account is active. |
subject.firstName | Prints whether the first name of the user. |
subject.fsystem | |
subject.id | Prints the ID number for the user account within JBoss ON. |
subject.lastName | Prints the surname for the user. |
subject.ldapRoles | Lists any roles associated with LDAP groups to which the current user is a member. |
subject.name | Prints the JBoss ON user ID of the current user. |
subject.ownedGroups | |
subject.phoneNumber | Prints the phone number, if any exists, for the current user. |
subject.removeLdapRole |
removeLdapRole(Role)
|
subject.removeRole |
removeRole(Role)
|
subject.roles | Prints the role name, permissions, associated LDAP users and groups, associated resource groups, and other information about every role to which the current user belongs. |
subject.sessionId | Prints the current session ID number. |
subject.smsAddress | Returns the pager number, if it exists, for the user. |
subject.toString |
String toString()
|
subject.userConfiguration | Returns all of the dashboard information, based on the configured portlets, dashboards, and settings that are specific to the logged-in user. |