Creates a group in the external user directory.
Syntax
ESS_FUNC_M EssCreateExtGroup (hCtx, GroupName);
Parameter | Data Type | Description |
---|---|---|
hCtx | ESS_HCTX_T | API context handle (input). |
GroupName | ESS_STR_T | Name of group to create (input). See Group Name Limits. |
Notes
The specified group must exist in Shared Services.
Return Value
None.
Access
This function requires the caller to have Create/Delete User privilege (ESS_PRIV_USERCREATE) for the logged in server.
Example
ESS_FUNC_M ESS_CreateGroup (ESS_HCTX_T hCtx) { ESS_FUNC_M sts = ESS_STS_NOERR; ESS_STR_T GroupName; ESS_STR_T Password; ESS_PROTOCOL_T Protocol; ESS_CONN_PARAM ConnParam; GroupName = "Group 1"; Password = "Password"; Protocol = CSS; ConnParam = NULL; sts = EssCreateExtGroup (hCtx, GroupName); return (sts); }
See Also