UOMDatabase.GetDisplayUOMGroup Method (WindowsIdentity)
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
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( WindowsIdentity userIdentity )
Public Function GetDisplayUOMGroup ( userIdentity As WindowsIdentity ) As UOMGroup Dim instance As UOMDatabase Dim userIdentity As WindowsIdentity Dim returnValue As UOMGroup returnValue = instance.GetDisplayUOMGroup(userIdentity)
public: UOMGroup^ GetDisplayUOMGroup( WindowsIdentity^ userIdentity )
member GetDisplayUOMGroup : userIdentity : WindowsIdentity -> UOMGroup
Parameters
- userIdentity
- Type: System.Security.PrincipalWindowsIdentity
The WindowsIdentity of the user for the DisplayUOMGroup setting to be returned. If , then the setting for the current user is returned.
Return Value
Type: UOMGroupReturns the DisplayUOMGroup setting for a specified userIdentity.