Megosztás a következőn keresztül:


AllowRule Class

Definition

Represents the rule to allow.

[System.Runtime.Serialization.DataContract(Name="AllowRule", Namespace="http://schemas.microsoft.com/netservices/2010/10/servicebus/connect")]
public class AllowRule : Microsoft.ServiceBus.Messaging.AuthorizationRule
[<System.Runtime.Serialization.DataContract(Name="AllowRule", Namespace="http://schemas.microsoft.com/netservices/2010/10/servicebus/connect")>]
type AllowRule = class
    inherit AuthorizationRule
Public Class AllowRule
Inherits AuthorizationRule
Inheritance
Attributes

Constructors

AllowRule()

Initializes a new instance of the AllowRule class.

AllowRule(String, AllowRuleClaimType, String, IEnumerable<AccessRights>)

Initializes a new instance of the AllowRule class with the specified parameters.

AllowRule(String, String, String, IEnumerable<AccessRights>)

Initializes a new instance of AllowRule class.

Fields

NameIdentifierClaimType

The name identifier claim rule.

(Inherited from AuthorizationRule)
RoleClaimType

The role role claim rule.

(Inherited from AuthorizationRule)
RoleRoleClaimType

The role role claim rule.

(Inherited from AuthorizationRule)
SharedAccessKeyClaimType

The shared access key claim rule.

(Inherited from AuthorizationRule)
ShortNameIdentifierClaimType

The short name identifier claim rule.

(Inherited from AuthorizationRule)
ShortUpnClaimType

The short UPN claim rule.

(Inherited from AuthorizationRule)
UpnClaimType

The UPN claim rule.

(Inherited from AuthorizationRule)

Properties

ClaimType

Gets or sets the claim type.

(Inherited from AuthorizationRule)
ClaimValue

Gets or sets the claim value which is either ‘Send’, ‘Listen’, or ‘Manage’.

(Inherited from AuthorizationRule)
CreatedTime

Gets or sets the date and time when the authorization rule was created.

(Inherited from AuthorizationRule)
IssuerName

Gets or sets the name identifier of the issuer.

(Inherited from AuthorizationRule)
KeyName

Gets or sets the allow rule key name.

ModifiedTime

Gets or sets the date and time when the authorization rule was modified.

(Inherited from AuthorizationRule)
Revision

Gets or sets the modification revision number.

(Inherited from AuthorizationRule)
Rights

Gets or sets the list of rights.

(Inherited from AuthorizationRule)

Methods

Clone()

Creates a copy of AuthorizationRule.

(Inherited from AuthorizationRule)
Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from AuthorizationRule)
GetHashCode()

Returns the hash code for this instance.

(Inherited from AuthorizationRule)
OnValidate()

Enables derived classes to provide custom handling when validating the authorization rule.

(Inherited from AuthorizationRule)
ValidateRights(IEnumerable<AccessRights>)

Checks the validity of the specified access rights.

(Inherited from AuthorizationRule)

Applies to