Tag Info

Hot answers tagged

3

I ran into the same issue, user account was a farm admin, local machine administrator, had local run as rights on the server, cleared the SP cache, pretty much everything you tried I had tried. I found out that the April 2014 CU contained a fix (http://support.microsoft.com/kb/2760265) where the User Profile Syncrhonisation service will not run when using ...


3

it looks like your workflow is picking up the last instance of the found pool of names! so in your case, you have the name JDOE, the workflow in AD picks up JDOE and JDOE1 and JDOE2 it would then return JDOE2 as its the last occurance in the array of returned items. If in the people picker you had JDOE1 it would return JDOE1 only and send the mail to ...


3

If you have Exchange Online as well, you can use Powershell Set-UserPhoto. The cmdlet works for both on-premise and online.


3

This was a bug in the April CU. The June CU Apparently fixes this.


3

This is just an expansion of @aveenavs answer, which works great for me, unless the user is on the root site of the application. The only difference is using _spPageContextInfo.webAbsoluteUrl instead of _spPageContextInfo.webServerRelativeUrl in the url in the ajax call. So I would change it to this: //Get user's personal MySite url ...


3

When ever you make a change in AD for one user or all users, You have to run the User Profile Sync Crawl. You can schedule it daily /weekly or what ever. We schedule incremental every night so that all the changes imported from AD to SharePoint.Run Full Profile Import once a month.


3

in this case msdn is you best friend. As i created it for the company that i work for i could answer this for you ;) mysite limmit for webapplication first you need to understand what is a mysite? a mysite is a site collection. The mysite when setup if done according to best practice should be hosted on its own web application. This web application ...


2

You can use CSOM or REST api to get user's personal MySite url. //Get user's personal MySite url SP.SOD.executeFunc('sp.js', 'SP.ClientContext', GetUserProfileProperties); function GetUserProfileProperties() { //Get the current user's account information $.ajax({ url: _spPageContextInfo.webServerRelativeUrl + ...


2

Try this: var profileManager = new UserProfileManager(ServerContext.GetContext(SPContext.Current.Site)); var profile = profileManager.GetUserProfile("domain\\username"); //instead of GetUserProfile use GetUserProfile(True); using (SPSite personalSite = profile.PersonalSite) { var personalSiteUrl = personalSite.PersonalUrl; } ...


2

This example uses the User Profiles object model to display the user profile properties that exist on the server. Replace servername with an actual value before running the code example. Also add references to the following in your Microsoft Visual Studio project: Microsoft.Office.Server Microsoft.Office.Server.UserProfiles Microsoft.SharePoint System.Web ...


2

Everything you describe here is EXACTLY what the User Profile Service is built for. Can you explain that to your client? Tell them that you can use the User Profile Service and be done in a couple hours or spend days, weeks, months working around it and they will never be happy, finally returning to the User Profile Service. Sometimes it is your ...


2

I assume you have a customized page where these users enter the User's name and then you replace all instances of that name with a new one... To do this client side, you need to use the 'SearchPrincipals" webservice. It will return a list of possible matches based on a name/email/login name. You might also be interested in this client side People Picker ...


2

You cannot use 1 site collection for all. Each profile has its own site collection. You need to have MySite specific solution where you have a Web scoped feature that adds the masterpage to the masterpage gallery and sets the masterpage for the site collection through the FeatureActivated eventreceiver.


2

No it's not possible. Here is a link: http://community.office365.com/en-us/forums/148/p/173261/505321.aspx?ss=5b31d473-26f2-41da-8c36-9397d1d2fad2#505321


2

The MyLinks control is hidden in SharePoint 2010, but as you point out still present in both 2010 and 2013. The links are part of the User Profile. So they are in the User Profile Database. You can access them via the QuickLinksManager and the User Profile Property "QuickLinks". I should point out that the preferred technique in 2010 and 2013 is to use Tags ...


2

First thing is check that you are actually syncing. I would first visit Central Administration and under your user profile service execute a full sync and verify it runs. There is a visual queue that it's running on the user profile service page. After it runs you can check to see if the user name is updated. I would also look directly and the users ...


2

Yes, this is correct. In our intranet we use disabling user to prevent unauthorized access. So the way this user references remain intact and guarantee the security of sensitive information. Hope this helps you.


2

I would try using Search REST API for this. The API can be used to query User Profiles and return the path to their My Site. You could even create a A-Z directory if you wanted. Very easy to do with search.


2

You can disable the timer job responsible for sending mail for MySite Suggestions Email job. From Central Administration, click Monitoring Under the Timer Jobs heading, click Review job definitions Scroll down (or click through pages) until you find a job called User Profile Service - User Profile My Site Suggestions Email Job


2

I would recommend using a query against the change log. The "Event Receiver" really isn't it's just a timer job using the same approach detailed in the article. You could even run it all external to SharePoint from PowerShell if you wanted. No need to deploy custom code to SharePoint.


2

I was running into the same issues and it turned out I was referencing the wrong DLLs. I was also having issues with CreatePersonalSiteEnqueueBulk not being recognized. I was referencing the 15 version not the 16 version and also the 16 version I had was out of date. Be sure you are referencing the proper DLL and have the most up to date version. I'm now ...


2

You can expand the user field using following code CAMLQueryOptions: "<QueryOptions><ExpandUserField>True</ExpandUserField></QueryOptions>" Now you can extract username in success method by using string manipulation.


2

I have a Powershell function in my profile (it also handles loading all the CSOM modules too) that looks like this: #This will handle iterating through all the OD4B sites that have been provisioned #and setting an eDiscovery SCA and any other SCAs as necessary $sca = "user@domain.com" $Password = Read-Host -Prompt "Please enter your password" ...


1

I've exactly the same problem with you. You can delete the current connection and create a new one, then start synchronize it. And try to focus on Sync Status on screen when you starting sync to see if there is any change there. If not, I think difinitely cause of sync.


1

SP.UserProfiles.PersonProperties.userProfileProperties property returns an a dictionary of property name keys and their string values. In JavaScript you could use the following syntax to access value in a dictionary: myProperties.get_userProfileProperties().UserName or myProperties.get_userProfileProperties()['UserName'] Example var context = ...


1

Follow this link and be happy :) http://www.sharepointconfig.com/2013/05/how-to-create-a-simple-sharepoint-2013-people-directory/


1

using (SPSite site = new SPSite(userProfile.PersonalSite.ID, this.Site.Zone)) { string redirectURL = SPUrlUtility.CombineUrl(site.Url, SourceUrl); CommonHelper.RedirectToPage(redirectURL, false, false, this.Context); } Do not forget about Zone!


1

Looks Like you enable the profile Picture importing from AD. Now if you want to stop the sync You have to follow these steps. Login on Central Admin with farm admin account go to Application Management > Manage Service Applications > Click on User Profile Services. On this Page Click on Manage User Properties > Edit the Picture Property Click Edit the ...


1

In the User Profile Service Application, goto Manage User Properties. Edit the Picture property. Remove the mapping to the AD property and save the property.


1

You can only run one instance of the User Profile Sync Service per Server. Have you made certain that your server assignments in Services on Server are correct? Ref: Is it possible to have multiple User Profile Service Applications on a single server farm



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