Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AF SDK Reference

Product Family
Current publication
Table of Contents

PISystems.CurrentUserId Property

PISystems.CurrentUserId Property
Gets the Id for the PISystems current identity.

Namespace:  OSIsoft.AF
Assembly:  OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.0.1156

Syntax

public string CurrentUserId { get; }
Public ReadOnly Property CurrentUserId As String
	Get

Dim instance As PISystems
Dim value As String

value = instance.CurrentUserId
public:
property String^ CurrentUserId {
	String^ get ();
}
member CurrentUserId : string with get

Property Value

Type: String
The Id of the PISystems current identity.

Remarks

If a ClaimsIdentity was used when initializing the object, the Id will be pulled from the Claim list. If connecting with OpenId connect and Current is set, this will return the Id for the OpenId user. Otherwise this falls back to GetCurrent()

Version Information

AFSDK

Supported in: 3.1.0, 3.0.2, 3.0.1, 3.0.0

See Also

Was this topic helpful?