external help file | Module Name | online version | schema |
---|---|---|---|
AMSoftware.Crm.PowerShell.Commands.dll-Help.xml |
AMSoftware.Crm |
2.0.0 |
Add a set of existing privileges to an existing role.
Set-CrmRolePrivilege [-Role] <Guid[]> [-EntityLogicalName] <String> [-AccessRight] <CrmAccessRight>
[-Scope] <CrmAccessScope> [<CommonParameters>]
Set-CrmRolePrivilege [-Role] <Guid[]> -PrivilegeName <String[]> [-Scope] <CrmAccessScope> [<CommonParameters>]
Add a set of existing privileges to an existing role.
The Access Right mask to set
Type: AMSoftware.Crm.PowerShell.Common.CrmAccessRight
Parameter Sets: SetRolePrivilegeForEntity
Aliases:
Accepted values: None, Read, Write, Append, AppendTo, Create, Delete, Share, Assign
Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The LogicalName of the Entity to set Privileges for
Type: System.String
Parameter Sets: SetRolePrivilegeForEntity
Aliases: LogicalName
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Name of the Privilege to set
Type: System.String[]
Parameter Sets: SetRolePrivilegesByName
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The Security Role to Add to Privilege to
Type: System.Guid[]
Parameter Sets: (All)
Aliases: Id
Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False
The scope the Privilege applies to
Type: AMSoftware.Crm.PowerShell.Common.CrmAccessScope
Parameter Sets: (All)
Aliases:
Accepted values: User, BusinessUnit, ChildBusinessUnit, Organization, None
Required: True
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.