Add-QTypeGroupPermissions
Adds a type group permissions object to the Data Governance Edition deployment.
A type group permissions object correlates possible permissions and group hierarchies within a managed resource type.
Syntax:
Add-QTypeGroupPermissions -ManagedResourceTypeID <String> -ManagedGroupTemplateID <String> [-Permissions [<Int32>]] [<CommonParameters>]
Table 82: Parameters
ManagedResourceTypeID |
Specify the ID (GUID format) of a managed resource type to be associated with the new type group permissions object.
Run the Get-QManagedResourceType cmdlet to retrieve a list of available resource types and their IDs. |
ManagedGroupTemplateID |
Specify the ID (GUID format) of a managed group template to be associated with the new type group permissions object.
Run the Get-QManagedGroupTemplate cmdlet to retrieve a list of available group templates and their IDs. |
Permissions |
(Optional) Specify the type of permissions to use for the new type group permissions object:
- 0: Read (Default)
- 1: Read Write
- 2: Full Control
If this parameter is not specified, Read permissions is used for the type group permissions object. |
Examples:
Table 83: Examples
Add-QTypeGroupPermissions -ManagedResourceTypeID a816fe83-6d49-4f43-9c0a-b37589e1058d -ManagedGroupTemplateID 0381aced-2aa7-4cc0-bbe2-b400a9c9ea9e |
Creates a type group permissions object with Read permissions. |
Add-QTypeGroupPermissions -ManagedResourceTypeID a816fe83-6d49-4f43-9c0a-b37589e1058d -ManagedGroupTemplateID 381aced-2aa7-4cc0-bbe2-b400a9c9ea9e -Permissions 1 |
Creates a type group permissions object with Read Write permissions. |
Get-QTypeGroupPermissions
Retrieves information about a type group permissions object from the Data Governance Edition deployment.
Syntax:
Get-QTypeGroupPermissions [-ManagedResourceTypeID [<String>]] [-ManagedGroupTemplateID [<String>]] [<CommonParameters>]
Table 84: Parameters
ManagedResourceTypeID |
(Optional) Specify the ID (GUID format) of a managed resource type to retrieve associated managed group templates and assigned permissions.
If either the ManagedResourceTypeID or ManagedGroupTemplateID are not specified, then all type group permission objects in the database are returned. |
ManagedGroupTemplateID |
(Optional) Specify the ID (GUID format) of a managed group template to retrieve the associated managed resource type.
If either the ManagedResourceTypeID or ManagedGroupTemplateID are not specified, then all type group permission objects in the database are returned. |
Examples:
Table 85: Examples
Get-QTypeGroupPermissions |
Returns a list of all the type group permissions objects in the database. |
Get-QTypeGroupPermissions -ManagedResourceTypeID a816fe83-6d49-4f43-9c0a-b37589e1058d -ManagedGroupTemplateID b119eac0-7a92-45c3-b7af-6c97c8dc34f2 |
Returns type group permission information for the specified managed resource type (simple share) and managed group template. |
Details retrieved:
Table 86: Details retrieved
ManagedGroupTemplateID |
The value (GUID) assigned to the managed group template associated with this managed resource type (UID_QAMManagedGroupTemplate). |
ManagedResourceTypeID |
The value (GUID) assigned to a managed resource type (UID_QAMManagedResourceType). |
Permissions |
The permission assigned to the object (Permission):
- 0: Read
- 1: Read Write
- 2: Full Control
|
Remove-QTypeGroupPermissions
Removes a type group permissions object from the Data Governance Edition deployment.
Syntax:
Remove-QTypeGroupPermissions -ManagedResourceTypeID <String> -ManagedGroupTemplateID <String> [<CommonParameters>]
Table 87: Parameters
ManagedResourceTypeID |
Specify the ID (GUID format) of a managed resource type for the type group permissions object to be removed. |
ManagedGroupTemplateID |
Specify the ID (GUID format) of a managed group template for the type group permissions object to be removed. |
Examples:
Table 88: Examples
Remove-QTypeGroupPermissions -ManagedResourceTypeID a816fe83-6d49-4f43-9c0a-b37589e1058d -ManagedGroupTemplateID b119eac0-7a92-45c3-b7af-6c97c8dc34f2 |
Removes the specified type group permissions object from the database. |
Set-QTypeGroupPermissions
Updates the permissions assigned to an existing type group permissions object in the Data Governance Edition deployment.
Syntax:
Set-QTypeGroupPermissions -ManagedResourceTypeID <String> -ManagedGroupTemplateID <String> [-Permissions [<Int32>]] [<CommonParameters>]
Table 89: Parameters
ManagedResourceTypeID |
Specify the ID (GUID format) of the managed resource type linked to the type group permissions object to be updated.
Run the Get-QManagedResourceType cmdlet without any parameters to retrieve a list of available managed resource types and associated IDs. |
ManagedGroupTemplateID |
Specify the ID (GUID format) of the managed group template linked to the type group permissions object to be updated.
Run the Get-QManagedGroupTemplate cmdlet without any parameters to retrieve a list of available managed group templates and associated IDs. |
Permissions |
(Optional) Specify this parameter to add or change the permissions assigned to the type group permissions object.
- 0: Read
- 1: Read Write
- 2: Full Control
|
Examples:
Table 90: Examples
Set-QTypeGroupPermissions -ManagedResourceTypeID a816fe83-6d49-4f43-9c0a-b37589e1058d -ManagedGroupTemplateID b119eac0-7a92-45c3-b7af-6c97c8dc34f2 -Permissions 0 |
Changes the permissions on the selected type group permissions object to "Read". |