AddUserToGroups(List<Int32>) Method
- Last UpdatedNov 06, 2025
- 1 minute read
The AddUserToGroups() method adds the current user to the groups specified in a list. This overload of the method specifies the IDs of the groups as a list of integers.
'Declaration
Public Overloads Sub AddUserToGroups( _
ByVal groups As List(Of Integer) _
)
Parameters
- groups
- Required. Holds a list of IDs of the groups to which to add the user.