RoleService.Update Method

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

Update(Role, bool)

Updates an existing Role.

public static Role Update(Role role, bool sudo = false)

Parameters

role
Role

The Role object to update.

sudo
bool

true to perform action as super user, otherwise false.

Returns

Role

The updated Role.