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

AF SDK Reference

UOMDatabase.GetDisplayUOMGroup Method (ClaimsIdentity)

UOMDatabase.GetDisplayUOMGroup Method (ClaimsIdentity)

  • Last UpdatedNov 18, 2025
  • 2 minute read
UOMDatabase.GetDisplayUOMGroup Method (ClaimsIdentity)
Gets the DisplayUOMGroup setting for a specified user identity.

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

Syntax

public UOMGroup GetDisplayUOMGroup(
	ClaimsIdentity userIdentity
)
Public Function GetDisplayUOMGroup ( 
	userIdentity As ClaimsIdentity
) As UOMGroup

Dim instance As UOMDatabase
Dim userIdentity As ClaimsIdentity
Dim returnValue As UOMGroup

returnValue = instance.GetDisplayUOMGroup(userIdentity)
public:
UOMGroup^ GetDisplayUOMGroup(
	ClaimsIdentity^ userIdentity
)
member GetDisplayUOMGroup : 
        userIdentity : ClaimsIdentity -> UOMGroup 

Parameters

userIdentity
Type: System.Security.ClaimsClaimsIdentity
The ClaimsIdentity of the user for the DisplayUOMGroup setting to be returned. If , then the setting for the current user is returned.

Return Value

Type: UOMGroup
Returns the DisplayUOMGroup setting for a specified userIdentity.

Version Information

AFSDK

Supported in: 3.1.1, 3.1.0, 3.0.2, 3.0.1, 3.0.0

See Also

In This Topic
TitleResults for “How to create a CRG?”Also Available in