Aracılığıyla paylaş


ReportingService2005.LogonUser Yöntemi

Bir kullanıcı oturum açtığında ve kullanıcı isteği için kimlik doğrulaması gerçekleştiriyorsa Rapor Sunucusu Web hizmet.

Ad Alanı:  ReportService2005
Derleme:  ReportService2005 (ReportService2005 içinde.dll)

Sözdizimi

'Bildirim
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices/LogonUser", RequestNamespace := "https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices",  _
    ResponseNamespace := "https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices",  _
    Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
<SoapHeaderAttribute("ServerInfoHeaderValue", Direction := SoapHeaderDirection.Out)> _
Public Sub LogonUser ( _
    userName As String, _
    password As String, _
    authority As String _
)
'Kullanım
Dim instance As ReportingService2005
Dim userName As String
Dim password As String
Dim authority As String

instance.LogonUser(userName, password, _
    authority)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices/LogonUser", RequestNamespace = "https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices", 
    ResponseNamespace = "https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
[SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)]
public void LogonUser(
    string userName,
    string password,
    string authority
)
[SoapDocumentMethodAttribute(L"https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices/LogonUser", RequestNamespace = L"https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices", 
    ResponseNamespace = L"https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices", 
    Use = SoapBindingUse::Literal, ParameterStyle = SoapParameterStyle::Wrapped)]
[SoapHeaderAttribute(L"ServerInfoHeaderValue", Direction = SoapHeaderDirection::Out)]
public:
void LogonUser(
    String^ userName, 
    String^ password, 
    String^ authority
)
[<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices/LogonUser", RequestNamespace = "https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices", 
    ResponseNamespace = "https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)>]
[<SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)>]
member LogonUser : 
        userName:string * 
        password:string * 
        authority:string -> unit 
public function LogonUser(
    userName : String, 
    password : String, 
    authority : String
)

Parametreler

  • authority
    Tür: System.String
    İsteğe bağlı.Kullanıcı kimlik doğrulaması yapılırken kullanılacak etki alanı adı.Değeriyle geçirmek nullnull başvuru (Visual Basic'te Nothing) (hiçbir şey Visual Basic) için bu bağımsız değişkeni ihmal.

Açıklamalar

Aşağıdaki tablo üstbilgi ve izinler bu işlemi gösterir.

soap üstbilgileri

(Giden)ServerInfoHeaderValue

Gerekli izinler

Hiçbiri

LogonUser yöntem için belirtilen kullanıcı kimliğini doğrular Rapor Sunucusu Web hizmet ne zaman özel kimlik doğrulamasısı yapılandırdı.

LogonUserGüvenli Yuva Katmanı (ssl) üzerinden çağrılması gerekir.Güvenli bir şekilde adlandırılır yöntem başarısız olur.Başarılı kimlik doğrulamasısısı, üzerine Rapor Sunucusu Web hizmet kimlik doğrulamasısı tanımlama bilgisini oluşturur ve https üstbilgisinde tanımlama bilgisi döndürür.ssl üzerinden yanıt verir.