This project has moved and is read-only. For the latest updates, please go here.

GetRoleCollectionFromUser -> 0x80131600

Apr 9, 2010 at 12:26 PM

Currently (0.5.4ALPHA5) this operation does not take loginName for payload which results in the following:

    operation: "GetRoleCollectionFromUser",
    async: false,
    loginName: "mcr\\rdp1",
    completefunc: function(xData,Status) {


<soap:Fault><faultcode>soap:Server</faultcode><faultstring>Exception of type 'Microsoft.SharePoint.SoapServer.SoapServerException' was thrown.</faultstring><detail><errorstring xmlns="">The loginName cannot be blank or longer than 251 characters.</errorstring><errorcode xmlns="">0x80131600</errorcode></detail></soap:Fault>

Apr 9, 2010 at 12:40 PM
Edited Apr 9, 2010 at 12:41 PM

The right option there is 'userLoginName' per the documentation. ;+)  Inconsistencies in the Web Service parameters and error messages are courtesy of our pals in Redmond, of course.


Apr 9, 2010 at 1:09 PM

definitely :) still it's not what i need :(