ReportServiceAuthentication.LogonUser Method (String, String, String, String)

 

Logs on a user and authenticates a user request to the Report Server Web service.

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

[SoapDocumentMethodAttribute("http://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices/LogonUser", 
	RequestNamespace = "http://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices", 
	ResponseNamespace = "http://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices", 
	Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public bool LogonUser(
	string userName,
	string password,
	string authority,
	out string cookieName
)

Parameters

userName
Type: System.String

The name of the user.

password
Type: System.String

The password for the user.

authority
Type: System.String

Optional. The domain name to use when authenticating a user. Pass a value of null (Nothing in Visual Basic) to omit this argument.

cookieName
Type: System.String

The name assigned to the cookie.

Return Value

Type: System.Boolean

true if the user was successfully authenticated; otherwise, false.

Return to top
Show: