So we have spent an amount of time (hopefully not too much ha) configuring the User profile service and the synchronisation which imports profiles from AD. Our filters are in place so we only have valid profiles.
For the next step we would like to automatically create all the mysites in one hit.
This may or may not be a good idea depending on your exact business requirements but if it is what you want here is a script which will iterate through the profiles and create you a my site for each user.
$site = new-object Microsoft.SharePoint.SPSite("http://mysitehost");
$ServiceContext = [Microsoft.SharePoint.SPServiceContext]::GetContext($site);
$ProfileManager = new-object Microsoft.Office.Server.UserProfiles.UserProfileManager($ServiceContext);
$AllProfiles = $ProfileManager.GetEnumerator();
foreach($profile in $AllProfiles)
{
$profile.CreatePersonalSite();
}
Great fun don't you reckon.
My name is Phil Izod and I have been working with Microsoft 365 and related technologies (with a lot of SharePoint) since 2005. I thought it might be helpful to the community if I shared some of my experiences. Feel free to leave comments if you wish; it’s great to know whether the information is helpful or not.
Showing posts with label UserProfiles. Show all posts
Showing posts with label UserProfiles. Show all posts
Monday, 18 July 2011
Wednesday, 19 January 2011
User profiles in SharePoint 2010
Why do we need them?
User profiles are the foundation of many of the SharePoint 2010 features. Including:
What makes up the user profiles architecture?
There are two main parts relating to SharePoint.
1. User profile service application(UPA)
This service application allows the management capability of the user profiles. So it provides a central location for configuring:
2. User profile synchronisation service
This is effectively a SharePoint wrapper for forefront identity manager components. It adds two windows services and is responsible for synchronising profile information with the user source. It is important to note that in SharePoint 2010 it is possible to send information back to the source in additional to the predictable pulling of data.
There are three databases related to the user profiles:
So there it is, a quick look into User profiles in 2010.
Technet : Create, edit, or delete a User Profile service application
This post is after listening to Spence talking in this video:
TechNet Radio: User Profiles in SharePoint 2010
I decided to make some notes for myself so I could refer to them in the future.
User profiles are the foundation of many of the SharePoint 2010 features. Including:
- People search ( searching on expertise / interests)
- Organisational hierarchy browser
- Content targeting
- "My Sites" functionality (including notes / interests / ratings and the like).
What makes up the user profiles architecture?
There are two main parts relating to SharePoint.
1. User profile service application(UPA)
This service application allows the management capability of the user profiles. So it provides a central location for configuring:
- User profile properties
- Organisation profiles
- Audiences
- Profile synchronization settings (you can also write back to source due to forefront identity manager capabilities)
- Organization browsing and management settings
- My Site settings (my site host / my site website)
2. User profile synchronisation service
This is effectively a SharePoint wrapper for forefront identity manager components. It adds two windows services and is responsible for synchronising profile information with the user source. It is important to note that in SharePoint 2010 it is possible to send information back to the source in additional to the predictable pulling of data.
There are three databases related to the user profiles:
- Profile database - Stores the user profiles
- Social database -Stores notes, tags and ratings
- Synchronisation db - Used by the synch service for managing its operations
So there it is, a quick look into User profiles in 2010.
Related links:
Technet : User profile service overviewTechnet : Create, edit, or delete a User Profile service application
This post is after listening to Spence talking in this video:
TechNet Radio: User Profiles in SharePoint 2010
I decided to make some notes for myself so I could refer to them in the future.
Subscribe to:
Posts (Atom)