$cs.UsrMgr_DeleteLocalUserAccount

Syntax

$cs..UsrMgr_DeleteLocalUserAccount(string userName)

 

Parameters

userName

Local user to delete - can be a SID.

 

Example

$cs.UsrMgr_DeleteLocalUserAccount('capauser') or $cs.UsrMgr_DeleteLocalUserAccount('S-1-5-21-3559337461-1037079836-4233830826-1109')

returns nothing

Â