 | ExtensionMethodsClaimLookup Method |
Determines if securityEntity has a claim claimType
Namespace: SanteDB.Core.Data.QueryAssembly: SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.2081-alpha+b4ae72647f2cc271f89142f76fff26ad69e00f5a
Syntaxpublic static string ClaimLookup(
this SecurityEntity securityEntity,
string claimType
)
<ExtensionAttribute>
Public Shared Function ClaimLookup (
securityEntity As SecurityEntity,
claimType As String
) As String
public:
[ExtensionAttribute]
static String^ ClaimLookup(
SecurityEntity^ securityEntity,
String^ claimType
)
[<ExtensionAttribute>]
static member ClaimLookup :
securityEntity : SecurityEntity *
claimType : string -> string Parameters
- securityEntity SecurityEntity
- The security object for which the claim is being looked up
- claimType String
- The type of the claim
Return Value
StringThe value of the claim value matches the value
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
SecurityEntity. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also