$cs.UsrMgr_ExistLocalUserAccount

Syntax

$cs.UsrMgr_ExistLocalUserAccount(string userName)

 

Parameters

userName

Name of user to check if exist.

 

Example

if ($cs.UsrMgr_ExistLocalUserAccount('capauser'){ $cs.UsrMgr_ChangePassword('capauser', 'SecretPassw0rd') }

returns boolean

Â