ReportServiceAuthentication.LogonUser(String, String, String, String) メソッド

定義

ユーザーにログインし、Report Server Webサービスへのユーザーリクエストを認証します。

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

Optional. ユーザー認証時に使うドメイン名。 この議論を省くためにnull(Nothing in Visual Basic)の値を渡します。

cookieName
String

クッキーに付けられた名前。

返品

true ユーザーが認証に成功した場合;それ以外は false

属性

適用対象