Skip to content

UsrMgr_DeleteLocalUserAccount

Permanently deletes a local user account. The function fails if the user doesn’t exist.

UsrMgr_DeleteLocalUserAccount(sUserName) As Boolean

The name of the user

If bStatus Then bStatus = UsrMgr_DeleteLocalUserAccount("Username")

Scripting Guidelines

UsrMgr_CreateLocalUser UsrMgr_ExistLocalUserAccount UsrMgr_DisableLocalUserAccount UsrMgr_SetLocalUserProperties Constants Package Property Variables