PIDatabaseSecurity.SecurityString Property
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Namespace: OSIsoft.AF.PI
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public string SecurityString { get; }
Public ReadOnly Property SecurityString As String Get Dim instance As PIDatabaseSecurity Dim value As String value = instance.SecurityString
public: property String^ SecurityString { String^ get (); }
member SecurityString : string with get
Property Value
Type: StringThe security access permission of the PIDatabaseSecurity table.
Remarks
The string contains a list of PI identities, users, or groups and their permissions. For example: “piadmin: A(r,w) | piadmins: A(r,w) | PIEngineers: A(r) | piworld: A()” One can parse this string through GetSecurityRights(String).
For PIServer prior to 3.4.380.x with owner/group/world access permission model, the order is preserved and guaranteed, where the first, second, and third accesses in the string correspond to that of Owner, Group, and World, respectively. For example: SecurityString “piadmin: A(r,w) | piadmins: A(r,w) | piworld: A(r)” represents the following permission entities and Access rules: Owner: “piadmin”, Group: “piadmins”, Access: “o:rw g:rw w:r”