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



OpcLabs.BaseLibPrimitives Assembly > OpcLabs.BaseLib.Security.Subject Namespace > IIdentityContext Interface : ApplicationIdentity Property
Gets the application identity in this context.
Syntax
'Declaration
 
<JetBrains.Annotations.CanBeNullAttribute()>
ReadOnly Property ApplicationIdentity As IApplicationIdentity
'Usage
 
Dim instance As IIdentityContext
Dim value As IApplicationIdentity
 
value = instance.ApplicationIdentity
[JetBrains.Annotations.CanBeNull()]
IApplicationIdentity ApplicationIdentity {get;}
[JetBrains.Annotations.CanBeNull()]
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