The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
The page you are viewing does not exist in the .NET Standard 2.0+ platform documentation. This link will take you to the parent topic of the current section.
.NET Core 3.0+

Role Members

An entity that defines the security role.

Constructors

Name Description
Role()

Initializes a new instance of the Role class.

Properties

Name Description
AutoAssociationPermissions static

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.

Equals(Object) Determines whether the specified object is equal to the current object.
(Inherited from Object)
Equals(Object, Object) static Determines whether the specified object instances are considered equal.
(Inherited from Object)
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.

GetHashCode() Serves as the default hash function.
(Inherited from Object)
GetType() Gets the Type of the current instance.
(Inherited from Object)
MemberwiseClone() Creates a shallow copy of the current Object.
(Inherited from Object)
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance.
(Inherited from Object)
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.

ToString() Returns a string that represents the current object.
(Inherited from Object)
See Also