PermissionSettingHelper Members

Methods

Name Description
AddMemberPermission(IPermissionPolicyRole, Type, String, String, String, Nullable<SecurityPermissionState>)

Finds the first type permission for the given type in the current role and adds the member permission to it. If the appropriate type permission is not found, it is created.

AddMemberPermission(IPermissionPolicyTypePermissionObject, String, String, String, Nullable<SecurityPermissionState>)

Adds the member permission to the current type permission.

AddMemberPermission<T>(IPermissionPolicyRole, String, String, String, Nullable<SecurityPermissionState>)

Finds the first type permission for the given type in the current role and adds the member permission to it. If the appropriate type permission is not found, it is created.

AddNavigationPermission(IPermissionPolicyRole, String, Nullable<SecurityPermissionState>)

Adds the navigation permission to the current role with the specified settings.

AddObjectPermission(IPermissionPolicyRole, Type, String, String, Nullable<SecurityPermissionState>)
AddObjectPermission(IPermissionPolicyTypePermissionObject, String, String, Nullable<SecurityPermissionState>)

Finds the first type permission for the given type in the current role and adds the object permission to it. If the appropriate type permission is not found, it is created.

AddObjectPermission<T>(IPermissionPolicyRole, String, String, Nullable<SecurityPermissionState>)
AddTypePermission(IPermissionPolicyRole, Type, String, Nullable<SecurityPermissionState>)

Adds the type permission to the current role with the specified settings. If the permission for the given type exists already, then the settings if this existing type permission are altered.

AddTypePermission<T>(IPermissionPolicyRole, String, Nullable<SecurityPermissionState>)

Adds the type permission to the current role with the specified settings. If the permission for the given type exists already, then the settings if this existing type permission are altered.

AddTypePermissionsRecursively(IPermissionPolicyRole, Type, String, Nullable<SecurityPermissionState>)

Recursively adds type permissions to the current role for each type which is assignable from the given type (or is equal to it). If the permission for the type already exists, then the settings of this existing type permission are altered.

AddTypePermissionsRecursively<T>(IPermissionPolicyRole, String, Nullable<SecurityPermissionState>)

Recursively adds type permissions to the current role for each type which is assignable from the given type (or is equal to it). If the permission for the type exists already, then the settings of this existing type permission are altered.

EnsureNavigationPermission(IPermissionPolicyRole, String)

Searches for the first permission for the specified navigation item in the current role. If the navigation permission is not found, it is created.

EnsureTypePermission(IPermissionPolicyRole, Type)

Searches for the first permission for the specified type in the current role. If the type permission is not found, it is created.

EnsureTypePermission<T>(IPermissionPolicyRole)

Searches for the first permission for the specified type in the current role. If the type permission is not found, it is created.

FindFirstTypePermission(IPermissionPolicyRole, Type)

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

FindFirstTypePermission<T>(IPermissionPolicyRole)

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

SetTypePermission(IPermissionPolicyRole, Type, String, Nullable<SecurityPermissionState>)

Searches for the first permission for the specified type in the current role, and rewrites its settings according to the specified parameters. If the type permission is not found, it is created.

SetTypePermission<T>(IPermissionPolicyRole, String, Nullable<SecurityPermissionState>)

Searches for the first permission for the specified type in the current role, and rewrites its settings according to the specified parameters. If the type permission is not found, it is created.