SYNOPSIS
Assign/set user permissions.
SYNTAX
Set-RDMUserGroupRights -Add [Add] <Nullable`1> -Delete [Delete] <Nullable`1> -Edit [Edit] <Nullable`1> -SecurityGroup [SecurityGroup] <PSSecurityGroupInfo> -SetUser [SetUser] <SwitchParameter> -User [User] <PSUserInfo> -View [View] <Nullable`1> [<CommonParameters>]
DESCRIPTION
Assign/set user permissions.
PARAMETERS
-Add <Boolean>
Allows the user to add entries in groups/folders for that security group.
-Delete <Boolean>
Allows the user to Delete the entries for that security group.
-Edit <Boolean>
Allows the user to Edit the entries for that security group.
-SecurityGroup <PSSecurityGroupInfo>
(Required) Security group object, must be retrieved from Get-RDMSecurityGroup or created via New-RDMSecurityGroup.
-SetUser <SwitchParameter>
Set the user in the data source
-User <PSUserInfo>
(Required) User object, must be retrieved from Get-RDMUser or created via New-RDMUser.
-View <Boolean>
Allows the user to View AND USE the entries for that security group.
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable,OutBuffer and OutVariable.For more information, type, "get-help about_commonparameters".
NOTES
For more information, type "Get-Help Set-RDMUserGroupRights -detailed". For technical information, type "Get-Help Set-RDMUserGroupRights -full".
EXAMPLE 1
PS C:\> $users = Get-RDMUser; $groups = Get-RDMGroup; Set-RDMUserGroupRights -user $users[1] -SecurityGroup $groups[0] -Add -Delete
Retrieves the list of available users and groups. Set permission add and delete to the second user of the list on the first group of the list
RELATED LINKS