GetGroupId Method
- Last UpdatedNov 06, 2025
- 1 minute read
The GetGroupId() method retrieves the user group ID for a group, specified by a group description.
'Declaration
Public Shared Function GetGroupId( _
ByVal description As String _
) As Integer
public static int GetGroupId(
string description
)
Parameters
- description
- Required. Holds the description of the group being retrieved.
Return Value
Returns an integer value that is the group ID of the group specified by the description. If there is an error and the group cannot be identified, a -1 is returned.