Group.AddGroupMembership Method

Add a user to a group - only used for custom groups
Public Shared Sub AddGroupMembership( _ 
ByVal group_id As EntityID, _ 
ByVal user_id As EntityID, _ 
ByVal adder_id As EntityID, _ 
ByVal db As IDatabase
)
This language is not supported or no code example is available.
public static void AddGroupMembership( 
EntityID group_id
EntityID user_id
EntityID adder_id
IDatabase db 
)
This language is not supported or no code example is available.
public:  
static void AddGroupMembership( 
EntityID^ group_id
EntityID^ user_id
EntityID^ adder_id
IDatabase^ db 
)
This language is not supported or no code example is available.
public static function AddGroupMembership( 
group_id : EntityID
user_id : EntityID
adder_id : EntityID
db : IDatabase 
);
This language is not supported or no code example is available.

Parameters

group_id
EntityID

the group to add the user to

user_id
EntityID

the id of the user

adder_id
EntityID

the id of the entity adding the user to the group

db
IDatabase

the db connection

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1

In this article

Definition