AFSecurityRightsExtension.CanSubscribeOthers Method
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
This extension method determines if the current user has
SubscribeOthers rights on the object.
Namespace: OSIsoft.AF
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public static bool CanSubscribeOthers( this AFSecurityRights item )
<ExtensionAttribute> Public Shared Function CanSubscribeOthers ( item As AFSecurityRights ) As Boolean Dim item As AFSecurityRights Dim returnValue As Boolean returnValue = item.CanSubscribeOthers()
public: [ExtensionAttribute] static bool CanSubscribeOthers( AFSecurityRights item )
[<ExtensionAttribute>] static member CanSubscribeOthers : item : AFSecurityRights -> bool
Parameters
- item
- Type: OSIsoft.AFAFSecurityRights
The AFSecurityRights that are be checked for SubscribeOthers rights.
Return Value
Type: BooleanReturns if the current user has SubscribeOthers rights on the object.