다음을 통해 공유


IReportServerCredentials.GetFormsCredentials 메서드

폼 인증용으로 구성된 보고서 서버 연결에 사용되는 정보를 제공합니다.

네임스페이스:  Microsoft.Reporting.WebForms
어셈블리:  Microsoft.ReportViewer.WebForms(Microsoft.ReportViewer.WebForms.dll)

구문

‘선언
Function GetFormsCredentials ( _
    <OutAttribute> ByRef authCookie As Cookie, _
    <OutAttribute> ByRef userName As String, _
    <OutAttribute> ByRef password As String, _
    <OutAttribute> ByRef authority As String _
) As Boolean
‘사용 방법
Dim instance As IReportServerCredentials
Dim authCookie As Cookie
Dim userName As String
Dim password As String
Dim authority As String
Dim returnValue As Boolean

returnValue = instance.GetFormsCredentials(authCookie, _
    userName, password, authority)
bool GetFormsCredentials(
    out Cookie authCookie,
    out string userName,
    out string password,
    out string authority
)
bool GetFormsCredentials(
    [OutAttribute] Cookie^% authCookie, 
    [OutAttribute] String^% userName, 
    [OutAttribute] String^% password, 
    [OutAttribute] String^% authority
)
abstract GetFormsCredentials : 
        authCookie:Cookie byref * 
        userName:string byref * 
        password:string byref * 
        authority:string byref -> bool 
function GetFormsCredentials(
    authCookie : Cookie, 
    userName : String, 
    password : String, 
    authority : String
) : boolean

매개 변수

  • authCookie
    유형: System.Net.Cookie%
    [out] 보고서 서버 인증 쿠키입니다.
  • userName
    유형: System.String%
    [out] 사용자 이름입니다.
  • password
    유형: System.String%
    [out] 사용자 암호입니다.
  • authority
    유형: System.String%
    [out] Microsoft Windows 도메인과 같은 사용자를 인증할 때 사용할 인증 기관입니다.

반환 값

유형: System.Boolean
폼 인증을 사용해야 하면 true이고, 그렇지 않으면 false입니다.

참고 항목

참조

IReportServerCredentials 인터페이스

Microsoft.Reporting.WebForms 네임스페이스