Disable-AXUser

Disable-AXUser

Deactivates a user in Microsoft Dynamics AX.

Syntax

Parameter Set: Default
Disable-AXUser [-AXUserId <String> ] [ <CommonParameters>]

Detailed description

The Disable-AXUser cmdlet deactivates a user in Microsoft Dynamics AX.

Parameters

-AXUserId<String>

Specifies the UserID (shortened name) of the user to be deactivated.

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 deactivates the user VamsiK in Microsoft Dynamics AX.

C:\PS>Disable-AXUser -AXUserId vamsik

Copyright Microsoft Corporation. All rights reserved.