Share via


AuthorizationRules.GetRules Method

Definition

Overloads

GetRules(String)

Gets the set of AuthorizationRule that matches the specified value.

GetRules(Predicate<AuthorizationRule>)

Gets the sets of AuthorizationRule.

GetRules(String)

Gets the set of AuthorizationRule that matches the specified value.

public System.Collections.Generic.List<Microsoft.ServiceBus.Messaging.AuthorizationRule> GetRules (string claimValue);
member this.GetRules : string -> System.Collections.Generic.List<Microsoft.ServiceBus.Messaging.AuthorizationRule>
Public Function GetRules (claimValue As String) As List(Of AuthorizationRule)

Parameters

claimValue
String

The value to search for.

Returns

The sets of AuthorizationRule that match the specified value.

Applies to

GetRules(Predicate<AuthorizationRule>)

Gets the sets of AuthorizationRule.

public System.Collections.Generic.List<Microsoft.ServiceBus.Messaging.AuthorizationRule> GetRules (Predicate<Microsoft.ServiceBus.Messaging.AuthorizationRule> match);
member this.GetRules : Predicate<Microsoft.ServiceBus.Messaging.AuthorizationRule> -> System.Collections.Generic.List<Microsoft.ServiceBus.Messaging.AuthorizationRule>
Public Function GetRules (match As Predicate(Of AuthorizationRule)) As List(Of AuthorizationRule)

Parameters

match
Predicate<AuthorizationRule>

The authorization rule to match the specified value.

Returns

The sets of AuthorizationRule that match the specified value.

Applies to