AFSecurityMapping.SecurityIdentity Property
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
The AFSecurityIdentity associated with this security mapping.
Namespace: OSIsoft.AF
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public AFSecurityIdentity SecurityIdentity { get; set; }
Public Property SecurityIdentity As AFSecurityIdentity Get Set Dim instance As AFSecurityMapping Dim value As AFSecurityIdentity value = instance.SecurityIdentity instance.SecurityIdentity = value
public: property AFSecurityIdentity^ SecurityIdentity { AFSecurityIdentity^ get (); void set (AFSecurityIdentity^ value); }
member SecurityIdentity : AFSecurityIdentity with get, set
Property Value
Type: AFSecurityIdentityReturns the AFSecurityIdentity associated with this security mapping.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | This exception is thrown when attempting to set this property to a value. |
Remarks
This property is initially set when the mapping was created using the
Add(String, NTAccount, AFSecurityIdentity, String) method, but can be updated different
security identity.