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

AF SDK Reference

AFSecurity.AreEquivalent Method

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFSecurity.AreEquivalent Method
This method compares two lists of AFSecurityIdentity items for equivalence.

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

Syntax

public static bool AreEquivalent(
	IList<AFSecurityIdentity> lhs,
	IList<AFSecurityIdentity> rhs
)
Public Shared Function AreEquivalent ( 
	lhs As IList(Of AFSecurityIdentity),
	rhs As IList(Of AFSecurityIdentity)
) As Boolean

Dim lhs As IList(Of AFSecurityIdentity)
Dim rhs As IList(Of AFSecurityIdentity)
Dim returnValue As Boolean

returnValue = AFSecurity.AreEquivalent(lhs, 
	rhs)
public:
static bool AreEquivalent(
	IList<AFSecurityIdentity^>^ lhs, 
	IList<AFSecurityIdentity^>^ rhs
)
static member AreEquivalent : 
        lhs : IList<AFSecurityIdentity> * 
        rhs : IList<AFSecurityIdentity> -> bool 

Parameters

lhs
Type: System.Collections.GenericIListAFSecurityIdentity
The left-hand-side list to compare against.
rhs
Type: System.Collections.GenericIListAFSecurityIdentity
The right-hand-side list to compare against.

Return Value

Type: Boolean
Returns if the two lists are equivalent, otherwise .

Remarks

Two lists of AFSecurityIdentity items are considered equivalent if they have the same identities in each list regardless of order.

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
Related Links
TitleResults for “How to create a CRG?”Also Available in