You are not logged in.
Pages: 1
Hi,
Is it possible to disable an user via script ?
I noticed that, when I check the option "Account inhibition:" in "User Edit" screen, I new record is created in rs_user_property table with accountInhibited = True.
So, I believe that disabling an user is not a simple flag that I need to change in database.
Appreciate if someone could provide any ideas...
Thanks
Marcio
Offline
Hi Marcio,
propertiesService.setPropertyValue(u, ReportServerModule.USER_PROPERTY_ACCOUNT_INHIBITED, "true")
where u is your user, and propertiesService is net.datenwerke.security.service.usermanager.UserPropertiesService
Regards,
Eduardo
Offline
Pages: 1