Add-AXSecurityRoleMember

Add-AXSecurityRoleMember

Adds a Microsoft Dynamics AX user to a Microsoft Dynamics AX security role.

Syntax

Parameter Set: Default
Add-AXSecurityRoleMember [-AOTName <String> ] [-AxUserID <String> ] [ <CommonParameters>]

Detailed description

The Add-AXSecurityRoleMember cmdlet adds a Microsoft Dynamics AX user to a Microsoft Dynamics AX security role.

Parameters

-AOTName<String>

Specifies the name in the AOT of the Microsoft Dynamics AX security role to add the user to.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-AxUserID<String>

Specifies the UserID (shortened name) to add to the Microsoft Dynamics AX security role.

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

This example adds the user Vamsi Kuppa (vamsik) to the Microsoft Dynamics AX LedgerAccountant security role.

C:\PS>Add-AXSecurityRoleMember -AxUserID vamsik -AOTName LedgerAccountant

Remove-AXSecurityRoleMember

Copyright Microsoft Corporation. All rights reserved.