3.1.4.120.2.2 GetCurrentUserRoleResponse

Contains the body for the response of the GetCurrentUserRole WSDL operation.

            
 <xsd:element name="GetCurrentUserRoleResponse" nillable="true">
   <xsd:complexType>
     <xsd:sequence>
       <xsd:element minOccurs="1" maxOccurs="1" name="GetCurrentUserRoleResult" type="xsd:int"/>
     </xsd:sequence>
   </xsd:complexType>
 </xsd:element>

GetCurrentUserRoleResult: This element MUST be present. It contains information retrieved about the role of the current user in the WSUS server, as shown in the following table.

Value

Role

Description

0

Unauthorized

The user is not authorized to perform any operations on the WSUS server.

1

Reporter

The user is authorized to view reports on the WSUS server.

2

Administrator

The user has full control over the WSUS server.