Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Syntax

<dllobject>.UsrMgr_AddUserToLocalGroup(string userName, string groupName)

Parameters

userName

user to add to group

groupName

group to add to user to - can be a SID-name

Example

$cs.UsrMgr_AddUserToLocalGroup('capaadmin','S-1-5-32-544')
or
$cs.UsrMgr_AddUserToLocalGroup('capaadmin','administrators')

returns nothing

  • No labels