ReportingService2010.LogonUser(String, String, String) 메서드

정의

보고서 서버 웹 서비스에 사용자를 로그온하고 사용자 요청을 인증합니다. 이 메서드는 기본 모드에만 적용됩니다.

public:
 void LogonUser(System::String ^ userName, System::String ^ password, System::String ^ authority);
[System.Web.Services.Protocols.SoapDocumentMethod("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/LogonUser", ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped, RequestNamespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", ResponseNamespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", Use=System.Web.Services.Description.SoapBindingUse.Literal)]
[System.Web.Services.Protocols.SoapHeader("TrustedUserHeaderValue")]
[System.Web.Services.Protocols.SoapHeader("ServerInfoHeaderValue", Direction=System.Web.Services.Protocols.SoapHeaderDirection.Out)]
public void LogonUser (string userName, string password, string authority);
[<System.Web.Services.Protocols.SoapDocumentMethod("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/LogonUser", ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped, RequestNamespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", ResponseNamespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", Use=System.Web.Services.Description.SoapBindingUse.Literal)>]
[<System.Web.Services.Protocols.SoapHeader("TrustedUserHeaderValue")>]
[<System.Web.Services.Protocols.SoapHeader("ServerInfoHeaderValue", Direction=System.Web.Services.Protocols.SoapHeaderDirection.Out)>]
member this.LogonUser : string * string * string -> unit
Public Sub LogonUser (userName As String, password As String, authority As String)

매개 변수

userName
String

사용자의 이름입니다.

password
String

사용자의 암호입니다.

authority
String

선택 사항입니다. 사용자를 인증할 때 사용할 도메인 이름입니다. 이 인수를 생략하려면 null(Visual Basic의 경우 Nothing) 값을 전달합니다.

특성

설명

다음 표에서는 이 작업에 대한 헤더 및 사용 권한 정보를 보여 줍니다.

SOAP 헤더 사용 (In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue
기본 모드 필수 권한 없음
SharePoint 모드 필수 권한 지원되지 않음

이 메서드는 SharePoint 모드에서 호출될 때 예외를 throw합니다 OperationNotSupportedSharePointMode .

이 메서드는 사용자 지정 인증이 구성되었을 때 지정된 사용자를 보고서 서버 웹 서비스에 인증합니다.

이 메서드는 SSL(Secure Sockets Layer)을 통해 호출되어야 합니다. 메서드가 안전하게 호출되지 않으면 실패합니다. 인증에 성공하면 보고서 서버 웹 서비스는 인증 쿠키를 생성하고 HTTPS 헤더에 쿠키를 반환합니다. 응답은 SSL을 통해 반환됩니다.

적용 대상