EsbSetGroup() sets a group information structure, which contains security information for the group.
EsbSetGroup (hCtx, pUserInfo)
ByVal hCtx As Long pUserInfo As ESB_USERINFO_T
hCtx | Essbase VB API context handle. |
pUserInfo | Pointer to group info structure. |
Declare Function EsbSetGroup Lib "ESBAPIW" (ByVal hCtx As Long, GroupInfo As ESB_USERINFO_T) As Long Sub ESB_SetGroup () Dim sts As Long Dim GroupInfo As ESB_USERINFO_T '******************************* ' Initialize GroupInfo structure '******************************* GroupInfo.Name = "PowerUsers" GroupInfo.Type = ESB_TYPE_GROUP GroupInfo.Access = ESB_PRIV_APPCREATE GroupInfo.MaxAccess = ESB_PRIV_APPCREATE '************************ ' Set GroupInfo structure '************************ sts = EsbSetGroup (hCtx, GroupInfo) End SubEsbGetGroup()