UsrMgr_RemoveUserFromLocalGroup
Description
Section titled “Description”Removes a specified User from a Local Group
Syntax
Section titled “Syntax”UsrMgr_RemoveUserFromLocalGroup(sDomainName, sUserName, sGroupName) As Boolean
Parameters
Section titled “Parameters”sDomainName (String)
Section titled “sDomainName (String)”The name of the Domain or the name of the Computer
sUserName (String)
Section titled “sUserName (String)”Name of the User to be removed
sGroupName (String)
Section titled “sGroupName (String)”The Group where the User should be removed from
Example
Section titled “Example”If bStatus Then bStatus = UsrMgr_RemoveUserFromLocalGroup("Domain", "Username", "Group")