EsbDeleteGroup

Description

EsbDeleteGroup() deletes an existing group.

Syntax
EsbDeleteGroup (hCtx, GrName)
ByVal hCtx    As Long
ByVal GrpName As String

Parameters

hCtxEssbase VB API context handle.
GrpNameName of a group to delete.

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 EsbDeleteGroup Lib "ESBAPIW" (ByVal hCtx As Long, ByVal GroupName As String) As Long

Sub ESB_DeleteGroup ()
   Dim sts As Long
   Dim GroupName As String

   GroupName = "PowerUsers"

   '*************
   ' Delete Group
   '*************
   sts = EsbDeleteGroup (hCtx, GroupName) 
End Sub

See Also

EsbCreateGroup()
EsbListGroups()
EsbRenameGroup()