M-Files API 23.11.13135.0
AddMember Method
UserGroup Object : AddMember Method
The ID of a user or a group to add. Group IDs must be entered as negative values.
Description
Adds a new member to the user group. Group IDs are negative, user IDs are positive.
Syntax
Visual Basic
Public Sub AddMember( _
   ByVal ID As Long _
) 
Parameters
ID
The ID of a user or a group to add. Group IDs must be entered as negative values.
See Also

UserGroup Object  | UserGroup Members