$cs.UsrMgr_RemoveUserFromLocalGroup

Syntax

$cs.UsrMgr_RemoveUserFromLocalGroup(string domain, string userName,string group)

 

Parameters

domain

Domain or blank for local user

userName

Name of user

group

Group to remove user from

 

Example

$cs.UsrMgr_RemoveUserFromLocalGroup('capasystems.com', 'testuser', 'Administrators') or $cs.UsrMgr_RemoveUserFromLocalGroup('', 'testuser', 'Administrators')

returns nothing

Â