Share via


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

정의

보고서 서버 웹 서비스에 사용자를 로그온하고 사용자 요청을 인증합니다.

public:
 bool LogonUser(System::String ^ userName, System::String ^ password, System::String ^ authority, [Runtime::InteropServices::Out] System::String ^ % cookieName);
[System.Web.Services.Protocols.SoapDocumentMethod("http://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices/LogonUser", ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped, RequestNamespace="http://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices", ResponseNamespace="http://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices", Use=System.Web.Services.Description.SoapBindingUse.Literal)]
public bool LogonUser (string userName, string password, string authority, out string cookieName);
[<System.Web.Services.Protocols.SoapDocumentMethod("http://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices/LogonUser", ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped, RequestNamespace="http://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices", ResponseNamespace="http://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices", Use=System.Web.Services.Description.SoapBindingUse.Literal)>]
member this.LogonUser : string * string * string * string -> bool
Public Function LogonUser (userName As String, password As String, authority As String, ByRef cookieName As String) As Boolean

매개 변수

userName
String

사용자의 이름입니다.

password
String

사용자의 암호입니다.

authority
String

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

cookieName
String

쿠키에 할당된 이름입니다.

반환

사용자가 성공적으로 인증되었으면 true이고, 그렇지 않으면 false입니다.

특성

적용 대상