.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

PermissionSettingHelper.FindFirstTypePermission Method

Name Parameters Description
FindFirstTypePermission(IPermissionPolicyRole, Type) static role, targetType

Searches for the first permission for the specified type in the current role.

FindFirstTypePermission<T>(IPermissionPolicyRole) static role

Searches for the first permission for the specified type in the current role.