UsrMgr_DisableLocalUserAccount
Description
Disables a local user account. The account resides, but the user cannot logon
Â
Syntax
UsrMgr_DisableLocalUserAccount(sUserName) As Boolean
Â
Parameters
sUserName (String)
The name of the user
Â
Example
VBScript
If bStatus Then bStatus = UsrMgr_DisableLocalUserAccount("Username")
Â
Related functions
UsrMgr_EnableLocalUserAccount UsrMgr_CreateLocalGroup UsrMgr_AddUserToLocalGroup UsrMgr_SetLocalUserProperties