Page tree
Skip to end of metadata
Go to start of metadata

Description

Gets the group name of specified sid

 

Syntax

UsrMgr_GetLocalGroupNameBySid(sSid) As Boolean

 

Parameters

sSid(String)

Sid


Return value

Result will be stored in gsValue

 

Example

VBScript
If bStatus Then bStatus = UsrMgr_GetLocalGroupNameBySid("S-1-5-32-544")
If bStatus Then bStatus = Job_WriteLog("Custom", "gsValue: " & gsValue, bStatus, True)

Scripting Guidelines

 

Related functions

UsrMgr_CreateLocalUser UsrMgr_CreateLocalGroup

  • No labels