Role Members

Constructors

Name Description
Role()

Initializes a new instance of the Role class.

Properties

Name Description
AutoAssociationPermissions

Specifies, whether or not the required permissions are automatically configured for associated objects/collections.

CanEditModel

Specifies whether users associated with the current role can use the Model Editor.

ChildRoles

Gets the current role's child roles list.

ID

Specifies the Role identifier.

IsAdministrative

Specifies whether users associated with the current role are administrators.

Name

Specifies the name of the security role.

ParentRoles

Gets the current role's master roles list.

TypePermissions

Gets the list of objects which contain type permissions associated with the current Role.

Users

A list of users associated with the current role.

Methods

Name Description
AddMemberAccessPermission(Type, String, String)

Adds the specified member access permissions to the Role instance.

AddMemberAccessPermission(Type, String, String, String)

Adds the specified member access permissions to the Role instance.

AddMemberAccessPermission<T>(String, String)

Adds the specified member access permissions to the Role instance.

AddMemberAccessPermission<T>(String, String, String)

Adds the specified member access permissions to the Role instance.

AddObjectAccessPermission(Type, String, String)

Adds the specified object access permissions to the Role instance.

AddObjectAccessPermission<T>(String, String)

Adds the specified object access permissions to the Role instance.

FindTypePermissionObject(Type)

Returns a TypePermissionObject object specifying type permissions for the given type, or null, if there is no such object in the Role.TypePermissions list.

FindTypePermissionObject<T>()

Returns a TypePermissionObject object specifying type permissions for the given type, or null, if there is no such object in the Role.TypePermissions list.

SetAssociationMemberPermissions(TypePermissionObject, SecuritySystemMemberPermissionsObject, String)

Sets the member permissions for associations.

SetAssociationTypePermissions(TypePermissionObject, String)

Sets type permissions for associations.

SetTypePermissions(Type, String, SecuritySystemModifier)

Sets type permissions for the specified business object type.

SetTypePermissions<T>(String, SecuritySystemModifier)

Sets the permissions for the business object.

SetTypePermissionsRecursively(Type, String, SecuritySystemModifier)

Sets the permissions for the target type and all its persistent descendants.

SetTypePermissionsRecursively<T>(String, SecuritySystemModifier)

Sets the permissions for the target type and all its persistent descendants.