SpaceService.AddMember Method

Namespace:
Weavy.Core.Services
Assembly:
Weavy.Core.dll

AddMember(int, int, Access, bool)

Add a User as member of the specified Space.

public static Member AddMember(int id, int userId, Access access = Access.Write, bool auth = true)

Parameters

id
int

Id of the Space.

userId
int

Id of user to add.

access
Access

The access rights to set for the user.

auth
bool

Returns

Member

The added member.