.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

Remove some of the properties in User profile

Posted By:      Posted Date: September 20, 2010    Points: 0   Category :SharePoint


In "Edit My profile" under my profile, there is a section called "Activities I am following:" under Newsfeed Settings, I want to remove either this section or some items in that activities list. But for some reason, "Activities I am following:"  is not found in the properties list, how I can remove it? Please advice.

Thanks in advance.

View Complete Post

More Related Resource Links

Searching User Profile Properties



Hi all,


After a week of pulling my hair our and not reply's to my original posts. I’m giving it another crack to hopefully get some information to solve my problem.


Ill recap on what I'm trying to achieve.


Our HR department has a requirement that MySites must have a property for "Fire Warden", "First Aider" & "OHS Member".


I have successfully added these properties to MySite and they come up for every user and save state (as they are Boolean... checked or unchecked) no problem here what so ever.


User Profile Properties


I am specifiying which user profile properties are to be displayed.

About five properties show at the top above 'More Information'.   There are descriptions for these  but these are not displayed, just the  value of the propetries.  How do I 1)  get the descriptions to show   2) determine which properties show here.


Privacy categories user profile properties



I would like to delete some privacy categories, used to display the user profile properties.

Default options are : only me, my manager, my team, my colleagues and everyone.
I only wish to display "only me" and "everyone".

How can I accomplish this?


Is there a way to undo/remove/delete an active directory user profile syncronization? [SP 2010]


I successfully managed to synchronize the active directory with Sharepoint 2010.  Unfortunately, the farm I was on has different FQDN /Netbios domain names.  So all ~1000 user profiles are now imported with the wrong domain, and the subsequent errors one would expect.


Is there a way to get back to a blank slate?  technet has an article on "resetting" profile synchronization (http://technet.microsoft.com/en-us/library/ff681014.aspx), but that requires being able to verify the GUID of the user profile synchronization database, which I am also unaware of how to do.


Please help, and thank you in advance.

Error messages on OOB properties in User Profile


Receiving error messages on OOB properties in User Profile thus unable to edit fields:

i.e. Skills field

Error Message: There was a problem retrieving data for this field. Updating values in this field is disabled temporarily. You can still update values in other fields.

The user profile service is started and we have provisioned a Metadata Service Application and associate it with the same web application we are using for the User Profile Application. We have also associated our MySites web application with the User Profile Service.


User Profile properties



I have a few user properties shown in the profile properties section of the user's profile page (under More Information), those information is in fact link that leads to a search. Is there a way to add those properties to the search scope automatically? As clicking on some of them return nothing (as the fields are not configured for search), or is there a way to remove the link and show text only?

Thanks in advance.

Need Clarifications on SharePoint 2010 User Profile properties and Sync database security


Need few clarifications on SharePoint 2010 user profile sync. I’ve answered some of them but need confirmation/clarity on this front.

  1. Is there option to disable ‘email address’ import from AD?
    Yes. Can disable that property mapping.
  2. Possible to send mails (user alerts) from SharePoint without the user profile property ‘email address’ mapped?
    Yes. User alert mails from SharePoint will work without ‘email address’ mapped in user profile DB.
  3. In case email address too is imported into SharePoint, can we bulk export them from SharePoint? If Yes, how to security harden that database?
    Not Sure. I believe Farm admin account/sync account has access to do this profile DB.

 Thanks in advance for your advice.<

Programmatically adding user profile properties fails when adding a multivalued property


I have written a console application that adds a custom section to the User Profile Properties and then adds properties under that section. The code works fine when adding CoreProperties of type string (Single Value) and mapping each property to an Active Directory field. However the code always fails when mapping a string (Multi Value) property to an AD property. I have researched the errors I present below but cannot see what the solution might be.


    private static void AddCustomProperties(string strUrl)
      Console.WriteLine("Adding custom properties under section '" + DisplayName + "'.......");
      using (SPSite siteColl = new SPSite(strUrl))

        SPServiceContext serviceContext = SPServiceContext.GetContext(siteColl);
        UserProfileConfigManager upcm = new UserProfileConfigManager(serviceContext);
        CorePropertyManager cpm = upcm.ProfilePropertyManager.GetCoreProperties();
        ProfilePropertyManager ppm = up

User Profile properties -- changes in Manage User Profiles



I have a user profile perperty which is mapped to an AD field and mapping is import only. And this is field is not editable by regular user. But I know as a system admin, one can go to Manage user profiles to change the value of this field

Now my question is if this mapped field is changed under "Manage User Profile" by a system admin, after a full sync, will the value from AD overwrite it? I thought it would, but I don't see this happens.

Please help. Thanks in advance.

Why don't I see all of the AD properties when trying to map a user profile property

When I go to map user profile properties to AD, and click the AD property drop-down, I don't see all fields from AD. In particular, I am trying to find the ad field 'url' and it is not visible. Any ideas?

Not able to edit user profile in share point


Hi ,

I am new to share point, and not able to edit user profile data in sharepoint2007. I am getting an error "can't edit the property try with user profile services".

I have ran full crawl still getting the same problem. Also let me know how I can fetch data from Active Directory to share point 2007.



User Control not accessing the value of the properties send to it from the aspx page.


I have a dynamic accordion on a page. Set its datasource to an object of paged data source.The user control is in the accordions content template. When i was writing code the properties were showing but after giving the values of databases as


<uc:UserControl1  runat="server" Property1='<%#DataBinder.Eval(Container.DataItem,"columname1")%>' Property2='<%#DataBinder.Eval(Container.DataItem,"columname2")%>'  ></uc:UserControl1>


but the values shows null, these properties are shown as textboxes text property by user control.

MoreOver when I checked the values of database Items.So i made a textbox instead of usercontrol here as

<asp:TextBox ID="txtTest" runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"Columname1")%>'></asp:TextBox>

It is showing the correct value. And if i pass the value directly it is also showing correctly like

<uc:UserControl1  runat="server" Property1="XYZ")%>' Property2="ABC")%>'  ></uc:UserControl1>

. where I am wrong

the problem is eval is not passing the value to usercont

Crawler fails to register date properties of user profiles with the month of January, April, August


This seems to be a bug when the crawler search the user profiles in MOSS 2007.  When crawled, user profiles with a SPS-HireDate in the months of January, April, August and December will be detected, but a full-text (SQL) search returns those profiles without the HireDate field.

User profiles with HireDates in other months work correctly, returning the HireDate in the search.  And changing the month of a problematic user profile also fixes the problem.

This problem is also reflected in the fact that while we have 499 user profiles using the SPS-HireDate property,  the managed property page from the search section only has 350 items with the HireDate property.

We're running MOSS 2007 32bit with SP2 with an English language base and the Spanish language pack. I'd considered date format problems, but I can't imagine how some months would work, while others wouldn't.

Any ideas?

Problem with User Control Properties


I've been trying to figure out a problem that I've had for the past week and believe that the issue is something with a user control that I created. In short, the properties for the user control are recognized by intelisense when I register the control and then add it in the markup for a page. However, the values that I set in the markup are ignored by the class as if the properties don't exist.



Parent Page

 <%@ Register Src="../../controls/contactdetail.ascx" TagName="ContactDetail" TagPrefix="tfc" %>

<tfc:ContactDetail runat="server" ID="UserControlContactDetail" Title="Contact-Detail" ContactId="1580" EnableViewState="true" />   



User Control Class

Imports System.Data
Imports System.Data.SqlClient

Partial Class control_ContactDetail
    Inherits System.Web.UI.UserControl
    Public Property ContactId() As Integer
            Return _ContactId
        End Get
        Set(ByVal value As Integer)
            _ContactId = value
        End Set
    End Property
    Private _ContactId As Integer
    Public Property Title() As String
            Return _Title
        End Get

SharePoint BDC - User Profile - 1:Many

Hi everyone, sorry for the long post, but I thought it'd be better to give all the information just in case there's a better way to do this. Basically, here's our scenario, we have a requirement to have Customers searchable in the people search (as in which employee sells to which customers).  We have a sql database with 3 tables: - employees(columns: userid, username, displayname); - customers(columns: customerid, customername); and - employeecustomer(columns userid, customerid) - we also have one view UserCustomer(columns: username, customername) So we've tried to create the BDC Applciation Definition on the view.  Here is the Entity Portion of the Application Definition file: <Entity EstimatedInstanceCount="10000" Name="EmployeeCustomer"> <Properties> <Property Name="Title" Type="System.String">username</Property> </Properties> <Identifiers> <Identifier Name="customer_name" TypeName="System.String" /> <Identifier Name="username" TypeName="System.String" /> </Identifiers> <Methods> <Method Name="Get_EmployeeCustomer_List"> <Properties> <Property Name="RdbCommandText" Type="System.String"><![CDATA[SELECT custo

Profile User Synchronisation Service

Hi, I have a problem to open Profile User Synchronisation. It doesn' work, I tried to verify this problem by opening services.msc but It show an error when I try to restart the service : Error 1068 The service or the groupe of dependency can't be restarted.   Thanks

User profile in Windows 7

I have Windows Server 2003 and when attaching my Windows 7 Professional machine, it will not create the profile. When logging on it loads a temporary file.  I tried changing to local profile but it will not let select it.  Any suggestions would be greatly appreciated.
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend