Modifier and Type | Method and Description |
---|---|
UserName |
SecurityService.whoAmI()
Returns the name of the currently authenticated user.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<LibraryItem> |
LibraryService.getChildItemsAsUser(Guid folderId,
UserName userName)
Returns all items (if any) within the given folder that the given user has read access to.
|
java.util.List<java.lang.String> |
LicenseService.getFunctionsForUser(UserName userName,
java.lang.String licenseName)
Returns the active License Functions for a certain user and License.
|
java.util.List<LibraryItem> |
LibraryService.getItemsAsUser(java.util.List<Guid> itemIds,
UserName userName)
Returns the items with the given IDs that the given user has read access to.
|
java.util.List<java.lang.String> |
LicenseService.getLicensesForUser(UserName userName)
Returns the Licenses that are enabled for a certain user.
|
UserPrincipal |
UserDirectoryService.getUserByName(UserName userName)
Returns the user principal with the given name (consisting of both a name component and a domain).
|
java.util.List<LibraryItem> |
LibraryService.searchItemsAsUser(java.lang.String searchExpression,
Guid locationId,
int maxResults,
UserName userName)
Returns all items, up to the given limit, in the given location that matches the given search expression.
|
void |
UserDirectoryService.setPassword(UserName userName,
java.lang.String password)
Sets the password for the given user.
|
void |
UserDirectoryService.setUserEnabled(UserName userName,
boolean enabled)
Enables or disables the given user.
|
Constructor and Description |
---|
UserPrincipal(Guid id,
UserName name,
java.lang.String displayName,
java.lang.String email,
boolean enabled)
Creates a new UserPrincipal instance with the specified details.
|
Copyright © 2013-2020 TIBCO Software Inc. All Rights Reserved.