QuickOPC User's Guide and Reference
SelectTokenInfoPolicy Method



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.IdentityModel.User Namespace > TokenSelectionPolicy Class : SelectTokenInfoPolicy Method
Token info policies available.
User identity.
Outline of the candidate selection process.
The token info policy.
Selects a security token policy.
Syntax
'Declaration
 
Public Overridable Function SelectTokenInfoPolicy( _
   ByVal tokenInfoPolicies As IEnumerable(Of TokenInfoPolicy), _
   ByVal userIdentity As UserIdentity, _
   ByRef candidateReport As String, _
   ByRef tokenInfoPolicy As TokenInfoPolicy _
) As Boolean
'Usage
 
Dim instance As TokenSelectionPolicy
Dim tokenInfoPolicies As IEnumerable(Of TokenInfoPolicy)
Dim userIdentity As UserIdentity
Dim candidateReport As String
Dim tokenInfoPolicy As TokenInfoPolicy
Dim value As Boolean
 
value = instance.SelectTokenInfoPolicy(tokenInfoPolicies, userIdentity, candidateReport, tokenInfoPolicy)

Parameters

tokenInfoPolicies
Token info policies available.
userIdentity
User identity.
candidateReport
Outline of the candidate selection process.
tokenInfoPolicy
The token info policy.

Return Value

Returns true if the functions has been successfully selected; false otherwise.
Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also