Jonathan Bravetti
Jonathan Bravetti

Reputation: 2238

How to enter AX 2012 pretending to be other user?

I need to enter in AX 2012 from my windows user with admin privileges and the same time in the current session I need enter as another user without admin privileges. For example, User GLOBAL\jbravetti.

Upvotes: 1

Views: 3098

Answers (2)

SShaheen
SShaheen

Reputation: 1013

One way to do this is to hold the Shift key and right-click the AX executable, then select "Run as different user" and enter the username and password.

Upvotes: 4

Jonathan Bravetti
Jonathan Bravetti

Reputation: 2238

After much research I found the answer.

I create a file with .bat extension, edit the file and put this:

runas /savedcred /user:DOMAIN\User "AX executable path  -regconfig=path of .axc file"

Example:

runas /savedcred /user:GLOBAL\jbravetti "C:\Program Files (x86)\Microsoft Dynamics AX\60\Client\Bin\Ax32.exe -regconfig=C:\AXShortcuts\DEV_CUS.axc"

Execute the .bat file, put the password to current user in file and then you access in AX by this user.

I hope it helps.

Upvotes: 1

Related Questions