ReportingService2005.ListRoles 方法
Returns the names and descriptions of roles that the report server manages.
命名空間: ReportService2005
組件: ReportService2005 (在 ReportService2005.dll 中)
語法
'宣告
Public Function ListRoles ( _
SecurityScope As SecurityScopeEnum _
) As Role()
'用途
Dim instance As ReportingService2005
Dim SecurityScope As SecurityScopeEnum
Dim returnValue As Role()
returnValue = instance.ListRoles(SecurityScope)
public Role[] ListRoles(
SecurityScopeEnum SecurityScope
)
public:
array<Role^>^ ListRoles(
SecurityScopeEnum SecurityScope
)
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.
備註
The table below shows header and permissions information on this operation.
SOAP Headers |
(Out) ServerInfoHeaderValue |
Required Permissions |
None |