Get-AXSecurityRoleMember

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-AXSecurityRoleMember

Returns a list of Microsoft Dynamics AX user IDs associated with the specified security role.

Syntax

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

Detailed description

The Get-AXSecurityRoleMember cmdlet returns a list of Microsoft Dynamics AX user IDs that are members of the specified security role.

Parameters

-AOTName<String>

Specifies the AOTName of the Microsoft Dynamics AX security role to return information about.

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-PartitionKey<String>

Specifies the partition to return information about. By default, the cmdlet returns information about the initial partition.

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

This example retrieves all members of the system administrators security role in Microsoft Dynamics AX.

C:\PS>Get-AXSecurityRoleMember -AOTName InventCostClerk
						
InventCostClerk

brian

Add-AXSecurityRoleMember

Get-AXPartitionInfo

Copyright Microsoft Corporation. All rights reserved.