Skip to content
This repository was archived by the owner on Jan 29, 2022. It is now read-only.

Latest commit

 

History

History
119 lines (88 loc) · 2.51 KB

Get-CrmRolePrivileges.md

File metadata and controls

119 lines (88 loc) · 2.51 KB
external help file Module Name online version schema
AMSoftware.Crm.PowerShell.Commands.dll-Help.xml
AMSoftware.Crm
2.0.0

Get-CrmRolePrivileges

SYNOPSIS

Retrieve the privileges that are assigned to the specified role.

SYNTAX

Get-CrmRolePrivileges [[-Role] <Guid>] [-Include <String>] [-Exclude <String>] [-EntityPrivilegesOnly]
 [-OtherPrivilegesOnly] [<CommonParameters>]

DESCRIPTION

Retrieve the privileges that are assigned to the specified role.

EXAMPLES

PARAMETERS

-EntityPrivilegesOnly

Only retrieve the priviliges linked to Entities.

Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Exclude

Priviliges - based on name - to exclude in the result.

Type: System.String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: True

-Include

Priviliges - based on name - to include in the result.

Type: System.String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: True

-OtherPrivilegesOnly

Only retrieve the priviliges not linked to Entities.

Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Role

The security role to retrieve the privileges for.

Type: System.Guid
Parameter Sets: (All)
Aliases: Id

Required: False
Position: 0
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

System.Guid

OUTPUTS

Microsoft.Xrm.Sdk.Entity

NOTES

RELATED LINKS

Get-CrmRolePrivileges

RetrieveRolePrivilegesRole Request