OPC Studio User's Guide and Reference
TokenInfoPolicy Constructor(String,String,String)



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.IdentityModel.User Namespace > TokenInfoPolicy Class > TokenInfoPolicy Constructor : TokenInfoPolicy Constructor(String,String,String)
URI string of the token profile.

The value of this parameter cannot be null (Nothing in Visual Basic).

URI string of the security policy.

The value of this parameter cannot be null (Nothing in Visual Basic).

The name of the service principal.

The value of this parameter cannot be null (Nothing in Visual Basic).

Initializes a new instance of the class, specifying token profile URI string, security policy URI string, and service principal name.
Syntax
'Declaration
 
Public Function New( _
   ByVal tokenProfileUriString As String, _
   ByVal securityPolicyUriString As String, _
   ByVal servicePrincipalName As String _
)
'Usage
 
Dim tokenProfileUriString As String
Dim securityPolicyUriString As String
Dim servicePrincipalName As String
 
Dim instance As New TokenInfoPolicy(tokenProfileUriString, securityPolicyUriString, servicePrincipalName)

Parameters

tokenProfileUriString
URI string of the token profile.

The value of this parameter cannot be null (Nothing in Visual Basic).

securityPolicyUriString
URI string of the security policy.

The value of this parameter cannot be null (Nothing in Visual Basic).

servicePrincipalName
The name of the service principal.

The value of this parameter cannot be null (Nothing in Visual Basic).

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