Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AF SDK Reference

PIDatabaseSecurity.SecurityString Property

  • Last UpdatedNov 18, 2025
  • 2 minute read
PIDatabaseSecurity.SecurityString Property
This property identifies the security access permission of the PIDatabaseSecurity.

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: String
The 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”

Version Information

AFSDK

Supported in: 3.1.1, 3.1.0, 3.0.2, 3.0.1, 3.0.0, 2.10.11, 2.10.5, 2.10.0, 2.10, 2.9.5, 2.9, 2.8.5, 2.8, 2.7.5, 2.7, 2.6

See Also

In This Topic
TitleResults for “How to create a CRG?”Also Available in