ISecurity.GetPermissionsForResource

Returns a collection of permission objects for the resource.

public IList<IPermission> GetPermissionsForResource(string resourceName,
	string resourceID,
	bool allRolesIfNone);

Return Value

A collection of permissions for the resource

Parameters

resourceName
The name of the resource (persisted only for readability).

resourceID
The ID of the resource to check.

allRolesIfNone
If true and there are no permissions defined for the resource, add all roles with full rights.

Overloads:


See also:

Interface ISecurity