ReportServiceAuthentication.LogonUser(String, String, String, String) 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
보고서 서버 웹 서비스에 사용자를 로그온하고 사용자 요청을 인증합니다.
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
입니다.
- 특성