AX 2012 stores user information in the UserInfo table . While creating a new user manually/sql server, we need to specify the SID of the user. The following X++ code fetches the SID of the user from AD/ registry.
To get SID of user, without this user will not be able to login to ax, just user will be shown into user form
xAxaptaUserManager Axmanage;
Axdetails = Axmanage.getSIDFromName(this.UserId,this.NetworkDomain,UserAccountType::ADUser);
To get SID of user, without this user will not be able to login to ax, just user will be shown into user form
xAxaptaUserManager Axmanage;