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

AF SDK Reference

Product Family
Current publication

AFSecurity.SetOwner Method (ClaimsIdentity)

Table of Contents

AFSecurity.SetOwner Method (ClaimsIdentity)

AFSecurity.SetOwner Method (ClaimsIdentity)
Used to take ownership of the AFObject that is associated with this AFSecurity.

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

Syntax

public void SetOwner(
	ClaimsIdentity identity
)
Public Sub SetOwner ( 
	identity As ClaimsIdentity
)

Dim instance As AFSecurity
Dim identity As ClaimsIdentity

instance.SetOwner(identity)
public:
void SetOwner(
	ClaimsIdentity^ identity
)
member SetOwner : 
        identity : ClaimsIdentity -> unit 

Parameters

identity
Type: System.Security.ClaimsClaimsIdentity
The ClaimsIdentity that will be the new owner of the AFObject associated with this security. If is specified, then the account for the current user is used.

Version Information

AFSDK

Supported in: 3.1.0, 3.0.2, 3.0.1, 3.0.0

See Also

Was this topic helpful?