Groups
Shows all of the current users groups/acls
Defined in: groups.js.
| Constructor Attributes | Constructor Name and Description |
|---|---|
|
Groups(showHidden)
Displays the users Group/ACL info and flags which Group/ACL is currently active
|
Class Detail
Groups(showHidden)
Displays the users Group/ACL info and flags which Group/ACL is currently active
- Parameters:
- showHidden Optional, Default: false
- incude hidden groups in the response
- Returns:
- [ { name: string; id: number; description: string; hidden: boolean; active: boolean; acls: [ { name: string; id: string; description: string; rootPath: string; active: boolean; triggerworkflow: boolean; } ] } ]
/wf/restapi/v2/groups
Parameters:
Response:
[
{
"name": "users",
"id": 6,
"description": "all of the system users",
"hidden": false,
"active": true,
"acls": [
{
"name": "Index",
"id": "0_6_19C23781-5F8A-459F-A98F-7A83031775D0",
"description": "",
"rootPath": "",
"active": true,
"triggerworkflow": true
}
]
},
{
"name": "TwoAcls",
"id": 8,
"description": "This group has 2 acls",
"hidden": false,
"active": false,
"acls": [
{
"name": "The first acl",
"id": "0_8_EDDAFC45-6C93-4AC1-B885-091BE211216E",
"description": "This is the first acl in the group",
"rootPath": "rootFolderPath/test/",
"active": false,
"triggerworkflow": true
},
{
"name": "SecondAcl",
"id": "0_8_DF42509D-4D23-4206-98F2-19C08DC1C8DF",
"description": "this is the second acl",
"rootPath": "",
"active": false,
"triggerworkflow": true
}
]
}
]