Class: Role
new Role()
Properties:
Name |
Type |
Description |
_embedded |
hash
|
|
_links |
hash
|
|
assignmentType |
RoleAssignmentType
|
|
created |
dateTime
|
|
description |
string
|
|
id |
string
|
|
label |
string
|
|
lastUpdated |
dateTime
|
|
status |
RoleStatus
|
|
type |
RoleType
|
|
Extends
Methods
-
addAdminGroupTarget(groupId, targetGroupId)
-
Parameters:
Name |
Type |
Description |
groupId |
string
|
|
targetGroupId |
string
|
|
-
addAllAppsAsTargetToRole(userId)
-
Parameters:
Name |
Type |
Description |
userId |
string
|
|
-
addAppInstanceTargetToAdminRole(groupId, appName, applicationId)
-
Parameters:
Name |
Type |
Description |
groupId |
string
|
|
appName |
string
|
|
applicationId |
string
|
|
-
addAppTargetToAdminRole(groupId, appName)
-
Parameters:
Name |
Type |
Description |
groupId |
string
|
|
appName |
string
|
|
-
addAppTargetToAdminRoleForUser(userId, appName)
-
Parameters:
Name |
Type |
Description |
userId |
string
|
|
appName |
string
|
|
-
addAppTargetToAppAdminRoleForUser(userId, appName, applicationId)
-
Parameters:
Name |
Type |
Description |
userId |
string
|
|
appName |
string
|
|
applicationId |
string
|
|