Search

April 2005
M T W T F S S
« Mar   May »
 123
45678910
11121314151617
18192021222324
252627282930  

Email Address changes

April 8th, 2005 by


From: someone


Subject: Email Address change


Date: Sun, 3 Apr 2005 09:53:03 -0700


Newsgroups: microsoft.public.sharepoint.portalserver


 


Hello,


Our company’s name changed and our email accounts changed also. The profiles imported from Active Directory and all of the links regarding account names on the portal reflect the change. The WSS sites did not.


It appears that each site maintains it’s own user information instead of referencing the portal profile.


 


Is there a way to change all of a particular user’s email account across all of the WSS sites?


 


I noticed there were several instances of the same username in the table UserInfo, column tp_Email. I assume each site has it’s own list of users. I ran an update query on our test server to change the email address for a couple of users and it did not appear to damage anything.


 


Using SharePoint Portal 2003 SP1 on Windows 2003 Standard. SQL Server


2003 SP3 for the database.


 


Has anyone run across something similar?


 


Thanks.


 


*************************************


 


From: <ParagSinkar@discussions.microsoft.com>


Subject: RE: Email Address change


Date: Sun, 3 Apr 2005 13:33:02 -0700


Newsgroups: microsoft.public.sharepoint.portalserver


 


Not OOTB but programetically Absolutely yes.


 


Dim siteCollection As SPSite = SPControl.GetContextSite(Context) Dim site As SPWeb = siteCollection.AllWebs(“Site_Name”)


Dim user As SPUser = site.AllUsers(“User_Name”) user.Email = “E-mail_Address”


user.Name = “Display_Name”


user.Notes = “User_Notes”


user.Update()


 


Yes you are referring to right table UserInfo which maintains all the info related to users.


 


Parag Sinkar


 

Posted in SPPS03_Tips | No Comments »



Comments are closed.