GetRoleCollectionFromUser -> 0x80131600

Apr 9, 2010 at 11:26 AM

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 11:40 AM
Edited Apr 9, 2010 at 11:41 AM

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 12:09 PM

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