AFSecurity.CanWrite 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
Write access to the object.
Namespace: OSIsoft.AF
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public bool CanWrite { get; }
Public ReadOnly Property CanWrite As Boolean Get Dim instance As AFSecurity Dim value As Boolean value = instance.CanWrite
public: property bool CanWrite { bool get (); }
member CanWrite : bool with get
Property Value
Type: BooleanReturns if the current user has Write access to the object.
Remarks
For objects that are part of a database, the user must have write privileges
to the database as well.