AFSecurity.HasAdmin Property
- Last UpdatedJan 12, 2026
- 2 minute read
- PI System
- AF SDK 3.2.0
- 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.2.0.7
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.