UsrMgr_EnableLocalUserAccount

Description

Re-enables a local user account that has been locked


Syntax

UsrMgr_EnableLocalUserAccount(sUserName) As Boolean


Parameters

sUserName (String)

The name of the user


Example

VBScript
If bStatus Then bStatus = UsrMgr_EnableLocalUserAccount("Username")

Scripting Guidelines


Related functions

UsrMgr_DisableLocalUserAccount UsrMgr_CreateLocalGroup UsrMgr_AddUserToLocalGroup UsrMgr_SetLocalUserProperties