SpaceService.ReviewMember Method

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

ReviewMember(int, int, Access, bool, bool)

Approves or denies a request to join a space.

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

Parameters

id
int

Id of the Space.

userId
int

Id of the user to add.

access
Access

The access rights to set for the user.

approve
bool

true to approve the request or false to deny it.

auth
bool

Returns

Member

The Member that was approved or rejected.