Export (0) Print
Expand All
Expand Minimize

ReportingService2010.LogonUser Method

Logs on a user and authenticates a user request to the Report Server Web service. This method only applies to native mode.

Namespace:  ReportService2010
Assembly:  ReportService2010 (in ReportService2010.dll)

<SoapDocumentMethodAttribute("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/LogonUser", RequestNamespace := "http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer",  _
	ResponseNamespace := "http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer",  _
	Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
<SoapHeaderAttribute("TrustedUserHeaderValue")> _
<SoapHeaderAttribute("ServerInfoHeaderValue", Direction := SoapHeaderDirection.Out)> _
Public Sub LogonUser ( _
	userName As String, _
	password As String, _
	authority As String _
Dim instance As ReportingService2010 
Dim userName As String 
Dim password As String 
Dim authority As String

instance.LogonUser(userName, password, _


Type: System.String
The name of the user.
Type: System.String
The password of the user.
Type: System.String
Optional. The domain name to use when authenticating a user. Pass a value of Nothing (Nothing in Visual Basic) to omit this argument.

The table below shows header and permissions information on this operation.

SOAP Header Usage

(In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue

Native Mode Required Permissions


SharePoint Mode Required Permissions

Not supported

This method throws an OperationNotSupportedSharePointMode exception when invoked in SharePoint mode.

This method authenticates the specified user to the Report Server Web service when custom authentication has been configured.

This method must be called over Secure Sockets Layer (SSL). The method fails if it is not called securely. Upon successful authentication, the Report Server Web service generates an authentication cookie and returns the cookie in the HTTPS header. The response is returned over SSL.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft