EsbCreateGroup

Creates a new group.

Syntax

EsbCreateGroup (hCtx, GrpName)
ByVal hCtx    As Long
ByVal GrpName As String
ParameterDescription

hCtx

VB API context handle.

GrpName

Name of a group to create. See Group Name Limits.

Notes

Return Value

None.

Access

This function requires the caller to have Create/Delete User privilege (ESB_PRIV_USERCREATE) for the logged in server.

Example

Declare Function EsbCreateGroup Lib "ESBAPIN" (ByVal hCtx As Long, ByVal GroupName As String) As Long

Sub ESB_CreateGroup ()
   Dim sts As Long
   Dim GroupName As String   GroupName = "PowerUsers"   '*************
   ' Create Group
   '*************
   sts = EsbCreateGroup (hCtx, GroupName) 
End Sub

See Also