UsrMgr_CreateLocalGroup

Description

Creates a group on the computer

 

Syntax

UsrMgr_CreateLocalGroup(sGroupName, sDescription) As Boolean

 

Parameters

sGroupName (String)

The group to be created

sDescription (String)

Description of the group

 

Example

VBScript
If bStatus Then bStatus = UsrMgr_CreateLocalGroup("Group","New group description")

Scripting Guidelines

 

Related functions

UsrMgr_CreateLocalUser UsrMgr_AddUserToLocalGroup