Get-AXSecurityRoleInfo

Get-AXSecurityRoleInfo

Returns a list of Microsoft Dynamics AX security roles, and information about them.

Syntax

Parameter Set: Default
Get-AXSecurityRoleInfo [-AOTName <String> ] [ <CommonParameters>]

Detailed description

The Get-AXSecurityRoleInfo cmdlet returns information about Microsoft Dynamics AX security roles. It returns the RecordID, Name, Description, and AOTName of all or one of the security roles. To make the output of the cmdlet easier to read, we recommend that you pipe it to the FL (format list) cmdlet.

Parameters

-AOTName<String>

Specifies the AOTName of the security role to return information about.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, OutBuffer, OutVariable, WarningAction, and WarningVariable. For more information, see about_CommonParameters http://go.microsoft.com/fwlink/?LinkID=113216

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

  • None

    You cannot pipe input to this cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

  • None

    The cmdlet does not generate any output.

Examples

Example 1

This example returns information about the Microsoft Dynamics AX LedgerFinancialController security role. The output is piped to the FL (format list) cmdlet to make it easier to read.

C:\PS>Get-AXSecurityRoleInfo -AOTName LedgerFinancialController | FL
						

RecId : 493144
Name : Financial controller
Description : Reviews all accounting process performance and enables those processes
AOTName : LedgerFinancialController

Example 2

This example returns information about all Microsoft Dynamics AX security roles. The output is piped to the FL (format list) cmdlet to make it easier to read.

C:\PS>Get-AXSecurityRoleInfo | FL
						

Name : Receiving clerk
Description : Documents receiving operation events and responds to warehouse re
ceiving operation inquiries
AOTName : InventReceivingClerk

RecId : 492994
Name : Shipping clerk
Description : Documents shipping operation events and responds to warehouse shi
pping operation inquiries
AOTName : InventShippingClerk

Copyright Microsoft Corporation. All rights reserved.