ReportingService2006.ListRoles 메서드

Returns the names and descriptions of roles for a given SharePoint site.

네임스페이스:  ReportService2006
어셈블리:  ReportService2006(ReportService2006.dll)

구문

‘선언
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)
public Role[] ListRoles(
    SecurityScopeEnum SecurityScope,
    string Path
)
public:
array<Role^>^ ListRoles(
    SecurityScopeEnum SecurityScope, 
    String^ Path
)
member ListRoles : 
        SecurityScope:SecurityScopeEnum * 
        Path:string -> Role[] 
public function ListRoles(
    SecurityScope : SecurityScopeEnum, 
    Path : String
) : Role[]

매개 변수

  • Path
    유형: System.String
    The fully qualified URL for the SharePoint site.

반환 값

유형: array<ReportService2006.Role[]
The table below shows header and permissions information on this operation.

SOAP Headers

(In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue

Required Permissions

None

An array of Role objects that contain information about roles for the given site, filtered by the supplied SecurityScopeEnum value.

참고 항목

참조

ReportingService2006 클래스

ReportService2006 네임스페이스