Announcements
No record found.
How to disabled the users? Can it be disabled?
*This post is locked for comments
Hi FuHu,
Double click on a record you want to disable, to open details page. There you can disable user clicking on a "Enabled" filed in edit mode.
Yes,
set enabled to unchecked within details for user. But keep in mind: The user has to exist in AD, otherwise you'll get an exeption on trying to disable him or her. In that case you have to disable by code. Most often users are deleted from AD without disabling or deleting them from Ax prior. In that case you can't 'deactivate' this non existing user anymore from within the GUI, only delete.
regards Douglas
When click on "Enabled" its prompt out this
That's what Douglas was talking about. You cannot disable it from UI now, ask developer to disable it using a job.
Hi,
static void disableUsers(Args _args)
{
UserInfo userInfo;
;
//a00008 is the user id which we want to disable.
while select forUpdate userInfo where userInfo.id == 'a00008'
if(userInfo)
ttsBegin;
userInfo.enable = 0;
userInfo.update();
ttsCommit;
}
thanks
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our 2026 Super Stars!
We are thrilled to have these Champions in our Community!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Basit 1
GL-01081504-0 1
Roya 1