3.1.4.22 GetRolesAndPermissionsForCurrentUser

The GetRolesAndPermissionsForCurrentUser operation<12> is used to return the permissions and role definitions for the current user.

 <wsdl:operation name="GetRolesAndPermissionsForCurrentUser">
     <wsdl:input message="tns:GetRolesAndPermissionsForCurrentUserSoapIn" />
     <wsdl:output message="tns:GetRolesAndPermissionsForCurrentUserSoapOut" />
 </wsdl:operation>

The protocol client sends a GetRolesAndPermissionsForCurrentUserSoapIn request message (section 3.1.4.22.1.1), and the protocol server responds with a GetRolesAndPermissionsForCurrentUserSoapOut response message (section 3.1.4.22.1.2), as follows:

  • The server MUST respond with a GetRolesAndPermissionsForCurrentUserSoapOut response message that contains all the role definitions that the current user is assigned to, and an integer that is the bitwise "OR" combination of all the permission levels that the user has through these role definitions.