Hot answers tagged

1

Please use below line to get original size picture. currentUserInfo.photo=getUPValue(xData.responseXML, "ows_EncodedAbsUrl"); Instead of currentUserInfo.photo=getUPValue(xData.responseXML, "PictureURL"); This ows_EncodedAbsUrl will give you the original picture's URL.


1

Use Move-SPUser. $user = Get-SPUser -Identity "i:0#.w|domain\jdoe" -Web http://siteUrl Move-SPUser -Identity $user -NewAlias "domain\jdoe" -IgnoreSid That will translate the new user's identity into the old identity ('identity' being the SID). This cmdlet works farm-wide.



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