ObjectAccessRule Classe
Definição
Representa uma combinação de uma identidade de usuário, uma máscara de acesso e um tipo de controle de acesso (permitir ou negar).Represents a combination of a user's identity, an access mask, and an access control type (allow or deny). Um objeto ObjectAccessRule também contém informações sobre o tipo de objeto ao qual a regra se aplica, o tipo de objeto filho que pode herdar a regra, como a regra é herdada por objetos filho e como essa herança é propagada.An ObjectAccessRule object also contains information about the type of object to which the rule applies, the type of child object that can inherit the rule, how the rule is inherited by child objects, and how that inheritance is propagated.
public ref class ObjectAccessRule abstract : System::Security::AccessControl::AccessRule
public abstract class ObjectAccessRule : System.Security.AccessControl.AccessRule
type ObjectAccessRule = class
inherit AccessRule
Public MustInherit Class ObjectAccessRule
Inherits AccessRule
- Herança
- Derivado
Construtores
| ObjectAccessRule(IdentityReference, Int32, Boolean, InheritanceFlags, PropagationFlags, Guid, Guid, AccessControlType) |
Inicializa uma nova instância da classe ObjectAccessRule com os valores especificados.Initializes a new instance of the ObjectAccessRule class with the specified values. |
Propriedades
| AccessControlType |
Obtém o valor de AccessControlType associado a esse objeto AccessRule.Gets the AccessControlType value associated with this AccessRule object. (Herdado de AccessRule) |
| AccessMask |
Obtém a máscara de acesso para essa regra.Gets the access mask for this rule. (Herdado de AuthorizationRule) |
| IdentityReference |
Obtém o IdentityReference ao qual essa regra se aplica.Gets the IdentityReference to which this rule applies. (Herdado de AuthorizationRule) |
| InheritanceFlags |
Obtém o valor de sinalizadores que determinam como a essa regra é herdada por objetos filhos.Gets the value of flags that determine how this rule is inherited by child objects. (Herdado de AuthorizationRule) |
| InheritedObjectType |
Obtém o tipo de objeto filho que pode herdar o objeto ObjectAccessRule.Gets the type of child object that can inherit the ObjectAccessRule object. |
| IsInherited |
Obtém um valor que indica se esta regra é definida explicitamente ou é herdada de um objeto de contêiner pai.Gets a value indicating whether this rule is explicitly set or is inherited from a parent container object. (Herdado de AuthorizationRule) |
| ObjectFlags |
Obtém sinalizadores que especificam se as propriedades ObjectType e InheritedObjectType do ObjectAccessRule objeto contêm os valores válidos.Gets flags that specify if the ObjectType and InheritedObjectType properties of the ObjectAccessRule object contain valid values. |
| ObjectType |
Obtém o tipo de objeto ao qual o ObjectAccessRule se aplica.Gets the type of object to which the ObjectAccessRule applies. |
| PropagationFlags |
Obtém o valor dos sinalizadores de propagação, que determinam como a herança dessa regra é propagada a objetos filho.Gets the value of the propagation flags, which determine how inheritance of this rule is propagated to child objects. Esta propriedade é significativa somente quando o valor de enumeração InheritanceFlags não é None.This property is significant only when the value of the InheritanceFlags enumeration is not None. (Herdado de AuthorizationRule) |
Métodos
| Equals(Object) |
Determina se o objeto especificado é igual ao objeto atual.Determines whether the specified object is equal to the current object. (Herdado de Object) |
| GetHashCode() |
Serve como a função de hash padrão.Serves as the default hash function. (Herdado de Object) |
| GetType() |
Obtém o Type da instância atual.Gets the Type of the current instance. (Herdado de Object) |
| MemberwiseClone() |
Cria uma cópia superficial do Object atual.Creates a shallow copy of the current Object. (Herdado de Object) |
| ToString() |
Retorna uma cadeia de caracteres que representa o objeto atual.Returns a string that represents the current object. (Herdado de Object) |