Syntax
$cs.UsrMgr_AddUserToLocalGroup(string userName, string groupName)
Parameters
userName
user to add to group
...
group to add to user to - can be a SID-name
Example
Code Block | ||
---|---|---|
| ||
$cs.UsrMgr_AddUserToLocalGroup('capaadmin','S-1-5-32-544') or $cs.UsrMgr_AddUserToLocalGroup('capaadmin','administrators') |
...