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

AF SDK Reference

AFSecurityMapping.Security Property

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFSecurityMapping.Security Property
This read-only property returns the AFSecurity information for the object.

Namespace:  OSIsoft.AF
Assembly:  OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182

Syntax

public AFSecurity Security { get; }
Public ReadOnly Property Security As AFSecurity
	Get

Dim instance As AFSecurityMapping
Dim value As AFSecurity

value = instance.Security
public:
virtual property AFSecurity^ Security {
	AFSecurity^ get () sealed;
}
abstract Security : AFSecurity with get
override Security : AFSecurity with get

Property Value

Type: AFSecurity
Returns the AFSecurity information of the current user for the object.

Implements

IAFSecurableSecurity

Remarks

The AFSecurity information for the object controls security access permissions to the object. The PISystem and AFDatabase objects also have independent security objects for entire classes of objects contained within them. Use the GetSecurity(AFSecurityItem) method to access the security objects for these collections. Use the AFSecurity.CheckSecurity method to check security for a different user.

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

See Also

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