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

AF SDK Reference

AFSecurityMapping.FindSecurityMapping Method

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFSecurityMapping.FindSecurityMapping Method
Retrieves the AFSecurityMapping object with the specified unique identifier.

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

Syntax

public static AFSecurityMapping FindSecurityMapping(
	PISystem system,
	Guid id
)
Public Shared Function FindSecurityMapping ( 
	system As PISystem,
	id As Guid
) As AFSecurityMapping

Dim system As PISystem
Dim id As Guid
Dim returnValue As AFSecurityMapping

returnValue = AFSecurityMapping.FindSecurityMapping(system, 
	id)
public:
static AFSecurityMapping^ FindSecurityMapping(
	PISystem^ system, 
	Guid id
)
static member FindSecurityMapping : 
        system : PISystem * 
        id : Guid -> AFSecurityMapping 

Parameters

system
Type: OSIsoft.AFPISystem
The PISystem to search for the desired object.
id
Type: SystemGuid
The unique identifier of the object to find.

Return Value

Type: AFSecurityMapping
The AFSecurityMapping in the PISystem which matches the unique identifier.

Remarks

The AFSecurityIdentity object with the specified id is returned. If the object does not exist, then will be returned. The PISystem.Supports method can be used to check if the PISystem supports the SecurityIdentity feature.

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