Get-AXSecurityRoleInfo

Important

This content is archived and is not being updated. For the latest documentation, see Microsoft Dynamics 365 product documentation. For the latest release plans, see Dynamics 365 and Microsoft Power Platform release plans.

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 https://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: Get information about a single role

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.

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

Description : Reviews all accounting process performance and enables those processes

AOTName : LedgerFinancialController

Example 2: Get information about all roles

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

PS C:\>Get-AXSecurityRoleInfo | FL
						
Name : Receiving clerk

Description : Documents receiving operation events and responds to warehouse receiving operation inquiries
AOTName : InventReceivingClerk
RecId : 492994
Name : Shipping clerk
Description : Documents shipping operation events and responds to warehouse shipping operation inquiries
AOTName : InventShippingClerk
PS C:\>
                        

Copyright Microsoft Corporation. All rights reserved.