3.1.4.23 GetRolesAndPermissionsForSite
The GetRolesAndPermissionsForSite operation<13> is used to return the permissions and role definitions for the current site collection.
-
<wsdl:operation name="GetRolesAndPermissionsForSite"> <wsdl:input message="tns:GetRolesAndPermissionsForSiteSoapIn" /> <wsdl:output message="tns:GetRolesAndPermissionsForSiteSoapOut" /> </wsdl:operation>
The protocol client sends a GetRolesAndPermissionsForSiteSoapIn request message (section 3.1.4.23.1.1), and the protocol server responds with a GetRolesAndPermissionsForSiteSoapOut response message (section 3.1.4.23.1.2), as follows:
The server MUST respond with a GetRolesAndPermissionsForSiteSoapOut response message that contains all the role definitions in the site collection. Each role definition has a permission level that defines the permissions for that role definition.