AFSecurity.HasAdmin Property
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
This read only property returns if the current user has
Admin rights on the object.
Namespace: OSIsoft.AF
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public bool HasAdmin { get; }
Public ReadOnly Property HasAdmin As Boolean Get Dim instance As AFSecurity Dim value As Boolean value = instance.HasAdmin
public: property bool HasAdmin { bool get (); }
member HasAdmin : bool with get
Property Value
Type: BooleanReturns if the current user has Admin rights on the object.