ReportServiceAuthentication.LogonUser Method
Logs on a user and authenticates a user request to the Report Server Web service.
네임스페이스: ReportServiceAuthentication
어셈블리: ReportServiceAuthentication (in reportserviceauthentication.dll)
구문
‘선언
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices/LogonUser", RequestNamespace:="https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices", ResponseNamespace:="https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices", Use:=SoapBindingUse.Literal, ParameterStyle:=SoapParameterStyle.Wrapped)> _
Public Function LogonUser ( _
userName As String, _
password As String, _
authority As String, _
<OutAttribute> ByRef cookieName As String _
) As Boolean
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices/LogonUser", RequestNamespace="https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices", ResponseNamespace="https://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
)
[SoapDocumentMethodAttribute(L"https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices/LogonUser", RequestNamespace=L"https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices", ResponseNamespace=L"https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices", Use=SoapBindingUse::Literal, ParameterStyle=SoapParameterStyle::Wrapped)]
public:
bool LogonUser (
String^ userName,
String^ password,
String^ authority,
[OutAttribute] String^% cookieName
)
/** @attribute SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices/LogonUser", RequestNamespace="https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices", ResponseNamespace="https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices", Use=SoapBindingUse.Literal, ParameterStyle=SoapParameterStyle.Wrapped) */
public boolean LogonUser (
String userName,
String password,
String authority,
/** @attribute OutAttribute() */ /** @ref */ String cookieName
)
JScript는 값 유형 인수를 참조로 전달하는 것을 지원하지 않습니다.
매개 변수
- userName
The name of the user.
- password
The password for the user.
- authority
The specific authority to use when authenticating a user.
- cookieName
The name assigned to the cookie.
반환 값
true if the user was successfully authenticated; otherwise, false.
스레드 보안
Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
플랫폼
개발 플랫폼
지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.
대상 플랫폼
Windows 98, Windows 2000, Windows 2000 Server, Windows CE, Windows Server 2008, Windows 98 Second Edition, Pocket PC, Smart Phone, Windows Server 2003, Windows XP Professional with Service Pack 2 (SP2), Windows 2000 Professional, Windows 2000 Advanced Server, Windows XP Home Edition, 지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오., Windows Vista, Windows Mobile 5.0, Windows Mobile 2003 for Pocket PC, Windows CE 5.0
참고 항목
참조
ReportServiceAuthentication Class
ReportServiceAuthentication Members
ReportServiceAuthentication Namespace