AddUserGroup(String) Method
- Last UpdatedNov 06, 2025
- 1 minute read
The AddUserGroup() method takes a user group description and creates a new user group, returning the group ID.
'Declaration
Public Overloads Shared Function AddUserGroup( _
ByVal description As String _
) As Integer
public static int AddUserGroup(
string description
)
Parameters
- description
- Required. Holds the description to use for the new user group.
Return Value
Returns the ID of the new user group. Returns -1 if the group was not
added.