SpaceService.RemoveMember Method

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

RemoveMember(int, int, bool)

Removes a Member from the specified Space.

public static Member RemoveMember(int id, int userId, bool sudo = false)

Parameters

id
int

Id of the Space.

userId
int

User Id of Member to remove.

sudo
bool

true to perform action as super user, otherwise false.

Returns

Member

The removed member.