Skip to content

UsrMgr_RemoveUserFromLocalGroup

Removes a specified User from a Local Group

UsrMgr_RemoveUserFromLocalGroup(sDomainName, sUserName, sGroupName) As Boolean

The name of the Domain or the name of the Computer

Name of the User to be removed

The Group where the User should be removed from

If bStatus Then bStatus = UsrMgr_RemoveUserFromLocalGroup("Domain", "Username", "Group")

Scripting Guidelines

Constants Package Property Variables