次の方法で共有


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

定義

ユーザーのログオンを処理し、レポート サーバー 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

省略可能。 ユーザーを認証するときに使用するドメイン名です。 この引数を省略する場合は、null (Visual Basic では Nothing) の値を渡します。

cookieName
String

クッキーに割り当てられている名前です。

戻り値

ユーザーが正常に認証された場合は true、それ以外の場合は false です。

属性

適用対象