Connectivity Software User's Guide and Reference
ApplicationIdentity Property (IdentityContext)



OpcLabs.BaseLibPrimitives Assembly > OpcLabs.BaseLib.Security.Subject Namespace > IdentityContext Class : ApplicationIdentity Property
Gets the application identity in this context.
Syntax
'Declaration
 
Public ReadOnly Property ApplicationIdentity As IApplicationIdentity
'Usage
 
Dim instance As IdentityContext
Dim value As IApplicationIdentity
 
value = instance.ApplicationIdentity
public IApplicationIdentity ApplicationIdentity {get;}
public:
property IApplicationIdentity^ ApplicationIdentity {
   IApplicationIdentity^ get();
}

Property Value

The value of this property can be null (Nothing in Visual Basic).

Remarks

When the ApplicationIdentity property of an IIdentityContext is null, it means that the principal does not have an associated application identity.

This method or property does not throw any exceptions, aside from execution exceptions such as System.Threading.ThreadAbortException or System.OutOfMemoryException.

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