| Package | Description |
|---|---|
| org.alfresco.utility.constants | |
| org.alfresco.utility.data | |
| org.alfresco.utility.model |
| Modifier and Type | Method and Description |
|---|---|
static UserRole |
UserRole.randomRole() |
static UserRole |
UserRole.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UserRole[] |
UserRole.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
DataUser.ListUserWithRoles |
DataUser.addUsersWithRolesToSite(SiteModel siteModel,
UserRole... roles) |
void |
DataUser.addUserToSite(UserModel userModel,
SiteModel siteModel,
UserRole role) |
UserModel |
DataUser.ListUserWithRoles.getOneUserWithRole(UserRole userRole)
Return one user that has the role specified
|
| Modifier and Type | Method and Description |
|---|---|
UserRole |
UserModel.getUserRole() |
| Modifier and Type | Method and Description |
|---|---|
void |
UserModel.setUserRole(UserRole userRole) |
Copyright © 2005–2019 Alfresco Software. All rights reserved.