WindowsClaimSet.FindClaims(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Searches for the claim that matches the specified claim type and rights in the WindowsClaimSet.
public:
override System::Collections::Generic::IEnumerable<System::IdentityModel::Claims::Claim ^> ^ FindClaims(System::String ^ claimType, System::String ^ right);
public override System.Collections.Generic.IEnumerable<System.IdentityModel.Claims.Claim> FindClaims (string claimType, string right);
override this.FindClaims : string * string -> seq<System.IdentityModel.Claims.Claim>
Public Overrides Function FindClaims (claimType As String, right As String) As IEnumerable(Of Claim)
Public Iterator Overrides Function FindClaims (claimType As String, right As String) As IEnumerable(Of Claim)
Parameters
- claimType
- String
The uniform resource identifier (URI) of a claim type.
- right
- String
The URI of the right associated with the new claim.
Returns
A System.Collections.Generic.IEnumerable<Claim>
object that enables you to enumerate the claims that match the specified criteria.
Remarks
Use the properties of the ClaimTypes class to specify the claimType
parameter.
Applies to
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.