...
- permissionLookup: PermissionLookup object
- subject: Subject object
- permissionLookup: PermissionLookup object
- immediacy: Constraint on search for subject as an immediate, nonimmediate, or any member type of groupassignment
Output
- true if subject is an immediate or nonimmediate member (as specified) of group, false otherwise
...
- true if assignment is successfully added or if addOnly is false and subject is already assigned to permissionID and action, false otherwise.
Availability
Optional. Data store may be read-only.
unassignPermission()
Code Block |
---|
boolean unassignPermission(PermissionLookup permissionLookup, String action, Subject subject, bool addOnly=false)
|
Input
- permissionLookup: PermissionLookup object
- action: qualifies the assignment
- subject: Subject object
- removeOnly: If true,
addMember()
fails if subject is already not assigned to of permissionID for that action.
Output
- true if assignment is successfully removed or if addOnly is false and subject is already assigned to permissionID and action, false otherwise.
Availability
Optional. Data store may be read-only.