UsrMgr_DeleteLocalUserAccount

Description

Permanently deletes a local user account

 

Syntax

UsrMgr_DeleteLocalUserAccount(sUserName) As Boolean

 

Parameters

sUserName (String)

The name of the user

 

Example

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

Scripting Guidelines

 

Relates functions

UsrMgr_CreateLocalUser UsrMgr_AddUserToLocalGroup UsrMgr_SetLocalUserProperties