Share a Session with a Group
This command sets the access permission (either WATCH, EDIT, RECORD, OWN, or custom permission ID) of the specified session with the specified group.
Important
Groups are only available on HMP if your system is connected to an LDAP or Active Directory server. See Managing User Provisioning/SSO in the HMP Administrator's Guide.
Authorizations: All
Request
shareSessionWithGroup groupname permissionId sessionId |
Parameters
Name | Description |
---|---|
groupname | The unique name specified for the HMP group. groupname is case-insensitive. |
permissionId | The access permission to assign to this group:
|
sessionId | The ID of a HMP session. |
Result
Success
|
Error
Error | Description |
---|---|
| Calling shareSessionWithGroup requires 3 parameters. |
| The sessionId provided must be a UUID. |
| The 'permission' passed in was not one of the expected values. |
| An internal error occurred while searching for group 'groupname '. |
| The group with UUID 'groupName ' was not found. |
| Returned when a group has no roles. |
| The session with UUID 'sessionId ' was not found. |
| User is not allowed to share to this permission ID. Ex.: User has the WATCH permission, but is trying to share to the OWN level. |
Example
This example uses a default HMP access permission.
|
This example uses a custom access permission.
|