ListRoles メソッド
指定した SharePoint サイトのロールの名前と説明を返します。
名前空間: ReportService2006
アセンブリ: ReportService2006 (ReportService2006.dll)
構文
'宣言
<SoapHeaderAttribute("TrustedUserHeaderValue")> _
<SoapHeaderAttribute("ServerInfoHeaderValue", Direction := SoapHeaderDirection.Out)> _
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices/ListRoles", RequestNamespace := "https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices", _
ResponseNamespace := "https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices", _
Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Function ListRoles ( _
SecurityScope As SecurityScopeEnum, _
Path As String _
) As Role()
'使用
Dim instance As ReportingService2006
Dim SecurityScope As SecurityScopeEnum
Dim Path As String
Dim returnValue As Role()
returnValue = instance.ListRoles(SecurityScope, _
Path)
[SoapHeaderAttribute("TrustedUserHeaderValue")]
[SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)]
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices/ListRoles", RequestNamespace = "https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices",
ResponseNamespace = "https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices",
Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public Role[] ListRoles(
SecurityScopeEnum SecurityScope,
string Path
)
[SoapHeaderAttribute(L"TrustedUserHeaderValue")]
[SoapHeaderAttribute(L"ServerInfoHeaderValue", Direction = SoapHeaderDirection::Out)]
[SoapDocumentMethodAttribute(L"https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices/ListRoles", RequestNamespace = L"https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices",
ResponseNamespace = L"https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices",
Use = SoapBindingUse::Literal, ParameterStyle = SoapParameterStyle::Wrapped)]
public:
array<Role^>^ ListRoles(
SecurityScopeEnum SecurityScope,
String^ Path
)
[<SoapHeaderAttribute("TrustedUserHeaderValue")>]
[<SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)>]
[<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices/ListRoles", RequestNamespace = "https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices",
ResponseNamespace = "https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices",
Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)>]
member ListRoles :
SecurityScope:SecurityScopeEnum *
Path:string -> Role[]
public function ListRoles(
SecurityScope : SecurityScopeEnum,
Path : String
) : Role[]
パラメーター
- SecurityScope
型: ReportService2006. . :: . .SecurityScopeEnum
返されるアイテムのセキュリティ スコープを示す SecurityScopeEnum 値です。
- Path
型: System. . :: . .String
SharePoint サイトの完全修飾 URL です。
戻り値
型: array<ReportService2006. . :: . .Role> [] () [] []
指定したサイトのロールに関する情報を表す、指定した SecurityScopeEnum 値によってフィルター選択された Role オブジェクトの配列です。