Ads 468x60px

.

Pages

Thursday, February 24, 2011

New Username

Hi Everyone,

We all know that from time to time users will have their Username changed in the Active Directory.
What happens behind the scenes is that their GUID is changed in the Sharepoint DB, and that could cause those users to lose the Permissions granted to them for site, lists etc.

Well...Fear no more our friend the stsadm comes to the rescue. what you should do is run the following command :
stsadm -o migrateuser -oldlogin DOMAIN\OldUserName -newlogin DOMAIN\NewUsername -ignoresidhistory

This command will Migrate all the Permissions the old username had and transfer them to the new username you provided in the stsadm command.

I'm sure someone will find this helpful :-)

0 comments:

Post a Comment