UsrMgr\_EnableLocalUserAccount
Description
Section titled “Description”Re-enables a local user account that has been locked
Syntax
Section titled “Syntax”UsrMgr_EnableLocalUserAccount(sUserName) As Boolean
Parameters
Section titled “Parameters”sUserName (String)
The name of the user
Example
Section titled “Example”VBScript
If bStatus Then bStatus = UsrMgr_EnableLocalUserAccount("Username")Related functions
Section titled “Related functions”UsrMgr_DisableLocalUserAccount UsrMgr_CreateLocalGroup UsrMgr_AddUserToLocalGroup UsrMgr_SetLocalUserProperties