How to use selected User-profile service in SharePoint
问题 Basically I am making a timer job to send a birthdayWish email fetched from SharePoint userprofile service . But problem is I have multiple userprofile services on server. like 1). userprofile service1 2). userprofile service2 3). userprofile service3 4). userprofile service4 So how to use 2nd user-profile service. Here's some code, that I did: SPServiceContext oServiceContext = SPServiceContext.GetContext(SPServiceApplicationProxyGroup.Default, SPSiteSubscriptionIdentifier.Default);