Hot answers tagged

2

I tried your code and got an unknown error. So i tried removing each field in the LINQ query and I found the error is due to grup => grup.Owner. I have changed it to grup => grup.OwnerTitle and the code worked fine. Also for getting each property value of a group loop the group collection object and get its value as per below code. GroupCollection ...


1

grup.Owner returns Principal object. so you can't load it using LINQ. You can load owner object for group inside foreach loop like this. ` GroupCollection collGroup = context.Web.SiteGroups; context.Load(collGroup); context.Load(collGroup, grups => grups.Include(grup => grup.Title, grup => grup.Description, grup => grup....


1

InfoPath Form Services does not support claims based authentication (that's what MS Support told us, when we faced a similar issue with Nintex Workflow.asmx about a month back). If you look in the IIS logs you will see that the calls to the UserProfileService.asmx are getting made as nt authority\anonymous user instead of the currently logged in ...



Only top voted, non community-wiki answers of a minimum length are eligible