Get-AmsRoleAuthorizationRule

SYNOPSIS

Gets all the role authorization rules, or a specific role authorization rule by its ID

SYNTAX

NoParameters (Default)

Get-AmsRoleAuthorizationRule [<CommonParameters>]

GetByName

Get-AmsRoleAuthorizationRule [-Name <String>] [<CommonParameters>]

GetById

Get-AmsRoleAuthorizationRule [-Id <String>] [<CommonParameters>]

DESCRIPTION

When called without any parameters, this cmdlet returns all the role authorization rules currently on the server. When the ID parameter is specified, it returns the rule matching that ID.

EXAMPLES

Example 1

Returns all the role authorization rules on the server

Example 2

Returns the role authorization rule with the name My custom role

Example 3

Returns the role authorization rule with the specified ID

PARAMETERS

-Id

The unique ID of the rule

-Name

The name of the rule

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

None

OUTPUTS

Lithnet.AccessManager.PowerShell.RoleAuthorizationRulePSObject

NOTES

Use of this cmdlet requires an Enterprise Edition license.

Last updated

Was this helpful?