ISecurity.SetResourcePermission

Updates or creates a record in the Permissions table for the specified resource and role.

public void SetResourcePermission(string resourceID,
	IRole role,
	AccessRights right);

Parameters

resourceID
The identifier (Guid or Name) of the resource.
role
The role.
right
The access level to assign to the role for the resource.

Overloads:


See also:

Interface ISecurity