ReportServiceAuthentication.LogonUser 方法

Logs on a user and authenticates a user request to the Report Server Web service.

命名空间:  ReportServiceAuthentication
程序集:  ReportServiceAuthentication(在 ReportServiceAuthentication.dll 中)

[SoapDocumentMethodAttribute("http://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices/LogonUser", RequestNamespace = "http://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices", 
	ResponseNamespace = "http://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
)

参数

userName
类型:System.String
The name of the user.
password
类型:System.String
The password for the user.
authority
类型:System.String
Optional. The domain name to use when authenticating a user. Pass a value of null (Nothing in Visual Basic) to omit this argument.
cookieName
类型:System.String%
The name assigned to the cookie.

返回值

类型:System.Boolean
true if the user was successfully authenticated; otherwise, false.

社区附加资源

添加
显示: