Tag Info

Hot answers tagged

2

You need to go to Document Library Ribbon -> Under Library -> Library Settings -> Permissions for this document library OR simply Document Library Ribbon -> Under Library -> Library Permissions By default the document library will be inheriting permissions from Site, you need to click "Stop Inheriting permissions" ribbon button to stop that.. Than you ...


1

You could follow eirikb's suggestion and create a Console Application project in VS to run it. Or you could scrap the whole RWEP bit and just use the SharePoint 20xx Management Shell / PowerShell since it's a one off run. $site = Get-SPSite "http://yoursite" $user = $site.RootWeb.SiteUsers.GetByEmail("theemail@domain.com") $user.Email = ...


1

The SOAP web services have been deprecated. Even if you did get it working there will come a point when it won't and Microsoft will no longer support it. I am sure you have seen the articles that describe your options from JavaScript: http://msdn.microsoft.com/en-us/library/office/jj920104(v=office.15).aspx This is a great reference for common tasks: ...


1

Run with Elevated privileges runs the Code in System Account/App pool account. So you will have to make sure that App pool account has "Manage Profile Permission" rights to the User Profile Service. Follow below steps: Go to Central Admin-->Choose Application Management --> Manage Service Applications--> Select the User Profile Service Application (do not ...


1

I just faced a very similar situation with a custom membership provider using claims in SP2013. After a lot of research and POC's, I could not get the Display Name in the people picker and the login name to be decoupled (basically, show a Display Name and generate the auth claims with a username or unique ID). Hopefully someone may chime in with a way to ...


1

When working with the User Profile Service you will find that uninitialized values are not sent via REST. Your code has to account for the fact that the user may "opt out" and not populate a value. In your code determine if the value is present and if not, determine the default, in your case "false". I like to believe that this is an "optimization". :)



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