ListRoles 메서드
Returns the names and descriptions of roles that the report server manages.
네임스페이스: ReportService2005
어셈블리: ReportService2005.dll의 ReportService2005
구문
‘선언
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices/ListRoles", 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 Function ListRoles ( _
SecurityScope As SecurityScopeEnum _
) As Role()
‘사용 방법
Dim instance As ReportingService2005
Dim SecurityScope As SecurityScopeEnum
Dim returnValue As Role()
returnValue = instance.ListRoles(SecurityScope)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices/ListRoles", 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 Role[] ListRoles(
SecurityScopeEnum SecurityScope
)
[SoapDocumentMethodAttribute(L"https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices/ListRoles", 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:
array<Role^>^ ListRoles(
SecurityScopeEnum SecurityScope
)
[<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices/ListRoles", 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 ListRoles :
SecurityScope:SecurityScopeEnum -> Role[]
public function ListRoles(
SecurityScope : SecurityScopeEnum
) : Role[]
매개 변수
- SecurityScope
형식: ReportService2005. . :: . .SecurityScopeEnum
A SecurityScopeEnum value specifying the security scope for the items to return.
반환 값
형식: array<ReportService2005. . :: . .Role> [] () [] []
An array of Role objects that contains a collection of information about roles, filtered by the supplied SecurityScopeEnum value.