UsrMgr_GetSIDForLocalGroup

Description

Gets the SID of specified group

 

Syntax

UsrMgr_GetSIDForLocalGroup(sGroupName) As Boolean

 

Parameters

sGroupName (String)

Group name


Return value

Result will be stored in gsValue

 

Example

VBScript
If bStatus Then bStatus = UsrMgr_GetSIDForLocalGroup("CapaInstaller")
If bStatus Then bStatus = Job_WriteLog("Custom", "gsValue: " & gsValue, bStatus, True)

Scripting Guidelines

 

Related functions

UsrMgr_CreateLocalUser UsrMgr_CreateLocalGroup