AFSecurityIdentity.LoadSecurityIdentities Method
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Loads the AFSecurityIdentity objects with the specified unique identifiers.
Namespace: OSIsoft.AF
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public static AFNamedCollectionList<AFSecurityIdentity> LoadSecurityIdentities( PISystem system, Guid[] ids )
Public Shared Function LoadSecurityIdentities ( system As PISystem, ids As Guid() ) As AFNamedCollectionList(Of AFSecurityIdentity) Dim system As PISystem Dim ids As Guid() Dim returnValue As AFNamedCollectionList(Of AFSecurityIdentity) returnValue = AFSecurityIdentity.LoadSecurityIdentities(system, ids)
public: static AFNamedCollectionList<AFSecurityIdentity^>^ LoadSecurityIdentities( PISystem^ system, array<Guid>^ ids )
static member LoadSecurityIdentities : system : PISystem * ids : Guid[] -> AFNamedCollectionList<AFSecurityIdentity>
Parameters
- system
- Type: OSIsoft.AFPISystem
The PISystem to search for the desired objects. - ids
- Type: SystemGuid
An array of the unique identifiers of the objects to find.
Return Value
Type: AFNamedCollectionListAFSecurityIdentityA list of the AFSecurityIdentity objects in the PISystem which match the unique identifiers. If the object cannot be found, it will not be returned in the list.
Remarks
Fully loads the AFSecurityIdentity objects from the server into the client with
the specified ids.
The PISystem.Supports method can be used to check if the
PISystem supports the SecurityIdentity feature.