OPCDA.NET Reference Manual
QueryMinImpersonationLevel Method
See Also  Send Feedback
OpcDaNetUA.Net4 Assembly > OPCDA.NET Namespace > OpcServer Class : QueryMinImpersonationLevel Method

minImpLevel
Least required impersonation level for proper access: RPC_C_IMP_LEVEL_ANONYMOUS, RPC_C_IMP_LEVEL_IDENTIFY, RPC_C_IMP_LEVEL_IMPERSONATE, RPC_C_IMP_LEVEL_DELEGATE

Glossary Item Box

Information method to help a client to determine the minimal impersonation level the server requires to gain proper access to secured data sources.

Syntax

Visual Basic (Declaration) 
Public Function QueryMinImpersonationLevel( _
   ByRef minImpLevel As Integer _
) As Integer
C# 
public int QueryMinImpersonationLevel( 
   out int minImpLevel
)

Parameters

minImpLevel
Least required impersonation level for proper access: RPC_C_IMP_LEVEL_ANONYMOUS, RPC_C_IMP_LEVEL_IDENTIFY, RPC_C_IMP_LEVEL_IMPERSONATE, RPC_C_IMP_LEVEL_DELEGATE

Return Value

HRESULTS error/succes code as defined by OPC

Requirements

Target Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2016, .NET 4.x

See Also

Copyright © 2002-2018 Advosol Inc. All Rights Reserved.