UsrMgr_ExistLocalGroup

Description

Checks if specified group exists

 

Syntax

UsrMgr_ExistLocalGroup(sGroupName) As Boolean

 

Parameters

sGroupName(String)

Group name


Return value

Result will be stored in gbValue

Example

VBScript
If bStatus Then bStatus = UsrMgr_ExistLocalGroup("CapaInstaller")
If bStatus Then bStatus = Job_WriteLog("Custom", "gbValue: " & gbValue, bStatus, True)

Scripting Guidelines

 

Related functions

UsrMgr_CreateLocalUser UsrMgr_CreateLocalGroup