AFSecurityMapping.LoadSecurityMappings Method
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Loads the AFSecurityMapping 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<AFSecurityMapping> LoadSecurityMappings( PISystem system, Guid[] ids )
Public Shared Function LoadSecurityMappings ( system As PISystem, ids As Guid() ) As AFNamedCollectionList(Of AFSecurityMapping) Dim system As PISystem Dim ids As Guid() Dim returnValue As AFNamedCollectionList(Of AFSecurityMapping) returnValue = AFSecurityMapping.LoadSecurityMappings(system, ids)
public: static AFNamedCollectionList<AFSecurityMapping^>^ LoadSecurityMappings( PISystem^ system, array<Guid>^ ids )
static member LoadSecurityMappings : system : PISystem * ids : Guid[] -> AFNamedCollectionList<AFSecurityMapping>
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: AFNamedCollectionListAFSecurityMappingA list of the AFSecurityMapping 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 AFSecurityMapping 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.