New-AXSecurityRole

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.

New-AXSecurityRole

Creates a new Microsoft Dynamics AX security role.

Syntax

Parameter Set: Default
New-AXSecurityRole -AOTName <String> -Description <String> -Name <String> [ <CommonParameters>]

Detailed description

The New-AXSecurityRole cmdlet creates a new Microsoft Dynamics AX security role.

Parameters

-AOTName<String>

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

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Description<String>

Specifies a description for the Microsoft Dynamics AX security role.

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Name<String>

Specifies a name for the new Microsoft Dynamics AX security role.

Aliases

none

Required?

true

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 creates the Tester security role in Microsoft Dynamics AX.

C:\PS>New-AXSecurityRole -Name Tester -AOTName Tester -Description "Tests customizations"
						

RecId Name Description AOTName
----- ---- ----------- -------
1599507 Tester Tests customizations Tester

Copyright Microsoft Corporation. All rights reserved.