Tag Info

New answers tagged

1

Audiences have to be built and compiled before they can be used. Audiences are built in the User Profile Service area of Central Administration and are based on user profile properties. For example, you could create a Marketing audience where the membership includes everyone with the Department of Marketing. Once defined and compiled, it is available in ...


0

Me too facing the same issue what lenin was facing."Server was unable to process request. ---> Attempted to perform an unauthorized operation" error for any operation using USerProfile service. Code for Cookie: string strAuthCookie = credentials.GetAuthenticationCookie(targetsite); userprofileservice.CookieContainer = new CookieContainer(); ...


0

my problem was in error in starting below 2 services Forefront Identity Manager service Forefront Identity Manager Synchronization Service make sure checking below similar and complete guides: http://www.harbar.net/articles/sp2010ups2.aspx#ups0 http://myspexp.com/2011/04/28/user-profile-synchronization-servicehangs-on-starting-i-fixed-it/


0

Maybe recreation of User Profile Sync would solve the issue. To start copy youe settigs: AD connection settings connection filters, DBC preffered search center Mysite host (and personal path) Audiencies (all other added manualy) Profile, Social and Sync DB names (to give the same name while recreating) Delete UPS and Sync DB: CA->Manage secive ...


0

If you are open to editing your newform.aspx, you can acheive this using JSOM (to fetch user profile information): <script type="text/javascript" src="/_layouts/15/SP.js"></script> <script type="text/javascript" src="/_layouts/15/SP.UserProfiles.js"></script> <script src="/SiteAssets/jquery-1.10.2.min.js" ...


0

Using JavaScript: var clientContext; var user; // Make sure the SharePoint script file 'sp.js' is loaded before your // code runs. SP.SOD.executeFunc('sp.js', 'SP.ClientContext', sharePointReady); function sharePointReady() { clientContext = SP.ClientContext.get_current(); user = clientContext.get_web().get_currentUser(); ...



Top 50 recent answers are included