CSharpTest.Net
AuthenticateAs(String,NetworkCredential) Method
See Also  Send Feedback Download Help File
CSharpTest.Net.RpcLibrary Assembly > CSharpTest.Net.RpcLibrary Namespace > RpcClientApi Class > AuthenticateAs Method : AuthenticateAs(String,NetworkCredential) Method

serverPrincipalName
credentials

Glossary Item Box

Adds authentication information to the client, use the static Self to authenticate as the currently logged on Windows user.

Syntax

Visual Basic (Declaration) 
Public Overloads Sub AuthenticateAs( _
   ByVal serverPrincipalName As String, _
   ByVal credentials As NetworkCredential _
) 
C# 
public void AuthenticateAs( 
   string serverPrincipalName,
   NetworkCredential credentials
)

Parameters

serverPrincipalName
credentials

Requirements

Target Platforms: Windows XP, Windows Server 2003, Windows Vista, Windows Server 2008, Windows 7

See Also

Generated with Document! X 2011 by Innovasys