$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
Â