M-Files API 23.11.13135.0
AddMemberToUserGroup Method
VaultUserOperationsEx Object : AddMemberToUserGroup Method
The ID of the user group to which to add the specified user or user group.
The ID of the user or user group to add.
Description
Adds a user or a user group to the targeted user group if the item to be added is not yet a member of that group.
Syntax
Visual Basic
Public Sub AddMemberToUserGroup( _
   ByVal UserGroup As Long, _
   ByVal MemberID As Long _
) 
Parameters
UserGroup
The ID of the user group to which to add the specified user or user group.
MemberID
The ID of the user or user group to add.
Remarks

Requires M-Files 19.1.7279.4 or later.

This method is available only if M-Files API is used in the server interface mode.

See Also

VaultUserOperationsEx Object  | VaultUserOperationsEx Members