Show/Hide Toolbars

Reporting Services CMD

Command: GetServerRoles

 

List server roles  

 

SSRS Version:

 

2000, 2005 (N), 2005 (I), 2008 (N), 2008 (I),2008r2(N), 2008r2(I), 2012(N), 2012(I), Azure

 

(N)=Native

(I)=Integrated

 

 

Syntax

 

for SSRS 2000

 

GetServerRoles [/D]

 

 

for non SSRS 2000 versions

 

GetServerRoles [/D][/O:All|Catalog|Model|System]

 

 

GetServerRoles [/D][/O:All|Catalog|Model|System]

               If no option is selected All is assumed

               and only names of the roles not detail

            /O Option to filter only on SSRS 2005 and above

            /D Gives description of role too

 

 

Parameters

 

[/D]                        Gives detailed information about each role

[/O:<role type>]                ONLY VALID FOR NON SSRS 2000

                         If no option is selected All is assumed and only names of the roles

                         role type can be All, Catalog, Model or System                        

 

 

Examples

 

 

 for roles                

 

         getserverroles /o:catalog

 

 for system roles

 

         getserverroles /o:system

 

Remarks

 

 

See Also

 

DelRole                - Delete role

GetRole                - Get task in a role

GetServerRoles        - Get server roles- list of roles

GetTasks                - list of tasks

SetRole                - Set role- create a role

SetRoleProps        - Set role properties, amend tasks and description