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
|
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 |
| The |
| The 'permission' passed in was not one of the expected values. |
| An internal error occurred while searching for group ' |
| The group with UUID ' |
| Returned when a group has no roles. |
| The session with UUID ' |
| 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.
|