Home | Site Map | Cisco How ToNet How To | Wireless |Search | Forums | Services | Donations | Careers | About Us | Contact Us|

How to delete/remote a user from SharePoint

Network Sharing , TCP/IP, Internet, Wireless, Exchange, IIS, ISA and Print

How to delete/remote a user from SharePoint

Postby blin » Fri May 29, 2009 11:20 am

In SharePoint, you can remove or delete a user. The Remove selected user(s) option in the Manage Users screen does not delete the user accounts. It only removes the users from any roles. In order to remove the accounts completely from a SharePoint site, use the Click here to add or delete accounts option found on the Site Administration page. that delete the user entirely from SharePoint.
How to Configure and Troubleshoot Cisco
http://www.howtocisco.com

Tablet and Smartphone Setup Guide
http://www.quicksetupguide.com
blin
Site Admin
 
Posts: 3642
Joined: Wed Dec 31, 1969 7:00 pm
Location: Chicago, USA

Re: How to delete/remote a user from SharePoint

Postby guest » Fri May 29, 2009 11:57 am

What's the correct procedure to delete a user account? I'm using SharePoint
2007 with Win2003 Active Directory.

Reply to author Forward

You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.

According to your description, you need to remove a user from MOSS, correct?
If this is the case, you may refer to the following article.
http://office.microsoft.com/en-us/share ... 033.aspx#1
[Remove users and groups from site access]


Hope this helps,
best regards,


Wen Yuan
Microsoft Online Support
Microsoft Global Technical Support Center


Get Secure! - http://www.microsoft.com/security
=====================================================
When responding to posts, please "Reply to Group" via your newsreader so that others may learn and benefit from your issue.
=====================================================
This posting is provided "AS IS" with no warranties, and confers no rights.


This is Wen Yuan again. Do you face any further issue so far?
If there is anything else we can help with, just feel free to update here again.
We are glad to assist you.


Have a great day,
Best regards,


Wen Yuan
Microsoft Online Support
Microsoft Global Technical Support Center

Thanks for your reply, let me try to describe my scenario in more detail.

When we have a new user, I will create the user in AD and then sync it to
the SharePoint profiles.

So, when the user is required to be removed. I delete the user in AD, then
sync it to SharePoint profiles.

Then, I go to Document Library and see the files uploaded by that user. User
name still appears next the file. Then I click the user name, the user
profile still appear. But there is a button called "Delete this user from
site collection".


So, I click that button to delete the user from site collection. After that,
I go back to Document Library, and click the user name. An error message
"User not found" is shown. It is good!


However, there is still a problem. If I go to a Publishing site that was
created by the user, try to open the Page Settings. The error message "User
not found" is shown. That's really a problem, because I cannot change the
Page Settings anymore as the creator user was deleted.


That's why, I was asking you, what're the correct steps to delete a user.
Did I make anything wrong?

Thanks for your reply.

Base on my research, I’m afraid to say this behavior is by design. Website couldn’t work after you removed Creator User Account. Either, there is no way to change Site Creator User.


Your step is correct. We have to remove user account from Sharepoint database after you deleted it from AD. For sites which created by removed user. You may consider Backup&Restore it. Thereby, it can be created by another user account.


http://technet.microsoft.com/en-us/libr ... 62412.aspx
[Administering backup and recovery for Office SharePoint Server 2007]


Hope this helps,
Best regards,
Wen Yuan
Get Secure! - http://www.microsoft.com/security
=====================================================
When responding to posts, please “Reply to Group” via your newsreader so that others may learn and benefit from your issue.
=====================================================
This posting is provided”AS IS” with no warranties, and confers no rights
Tablet and Smartphone Setup Guide
http://www.quicksetupguide.com

Troubleshooting Vista Wireless
http://chicagotech.net/
guest
 
Posts: 10191
Joined: Mon Nov 27, 2006 1:10 pm

Re: How to delete/remote a user from SharePoint

Postby guest » Tue Jun 02, 2009 9:51 am

One of our clients has a SBS 2003 domain. The MS Office 2007 SharePoint is running on a windows 2003 server. Whenever a new user takes previous employee's position, they just rename the account information and keep the same account logon ID. For example, the UserB replaces UserA. The logon ID always USER. They change the alias and email to UserB from UserA. He/she logon using USER ID. That has been working for many years. However, that doesn't work on SharePoint.

In the SharePoint, we have deleted the UserA from All People, but when we add UserB to Shared Documents, it shows UserA. How do you delete the UserA from the SharePoint? Should we do it from SQL? If yes, how?
Tablet and Smartphone Setup Guide
http://www.quicksetupguide.com

Troubleshooting Vista Wireless
http://chicagotech.net/
guest
 
Posts: 10191
Joined: Mon Nov 27, 2006 1:10 pm

Re: How to delete/remote a user from SharePoint

Postby guest » Tue Jun 02, 2009 9:52 am

Thank you for posting in our Partner Online Technical Community.



Before we go further, I would like to confirm with you if you have performed the same steps as following to delete the user:



1. Go to the site, click on Site Action – Site Settings – People and groups

2. On the left navigation pane, click on All People.

3. Tick the checkbox next to the renamed account, and then click Actions – Delete Users from Site Collection

4. Click New- Users, and then add this account back.



If the steps are not helpful, please continue trying the following methods:



#1. Delete this user account from SSP and then do the full import again to update the users’ profile. You can just add the user account manually in SSP - User Profile and Properties > View User Profiles > Add User Profile.



#2. Update the user information by running the following command line:



stsadm -o migrateuser -oldlogin Domain\UserA -newlogin Domain\UserB



If anything is unclear or you need further assistance on this issue, please feel free to let me know. I am glad to be of assistance.




--------------------------------------------------------------------------------
Best regards,

Ada Pan
Partner Online Technical Community
Tablet and Smartphone Setup Guide
http://www.quicksetupguide.com

Troubleshooting Vista Wireless
http://chicagotech.net/
guest
 
Posts: 10191
Joined: Mon Nov 27, 2006 1:10 pm

Re: How to delete/remote a user from SharePoint

Postby guest » Tue Jun 02, 2009 9:52 am

I have tried delete the old userA and added the new userB. The New userB was listed in All People for a few hours. Then the userA replaces the userB automatically.

How do you use SSP to delete and add a user?

Where I can download the stsadm? I copy it from other server. When try to run

stsadm -o migrateuser -oldlogin Domain\UserA -newlogin Domain\UserB, I receive this message:


Unhandled Exception: System.TypeInitializationException: The type initializer fo
r 'Microsoft.SharePoint.StsAdmin.SPStsAdmin' threw an exception. ---> System.IO.
FileNotFoundException: Could not load file or assembly 'Microsoft.SharePoint, Ve
rsion=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its
dependencies. The system cannot find the file specified.
File name: 'Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyTo
ken=71e9bce111e9429c'
at Microsoft.SharePoint.StsAdmin.SPStsAdmin..cctor()

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\M
icrosoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure lo
gging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fus
ion!EnableLog].

--- End of inner exception stack trace ---
at Microsoft.SharePoint.StsAdmin.SPStsAdmin.Main(String[] args)
Tablet and Smartphone Setup Guide
http://www.quicksetupguide.com

Troubleshooting Vista Wireless
http://chicagotech.net/
guest
 
Posts: 10191
Joined: Mon Nov 27, 2006 1:10 pm

Re: How to delete/remote a user from SharePoint

Postby guest » Tue Jun 02, 2009 10:31 am

In this case, you should use Shared Service Administration to delete the user and add a new user. This how to may help,

How to Modify users in Shared Service Administration - http://www.howtonetworking.com/msapps/ssa1.htm
Tablet and Smartphone Setup Guide
http://www.quicksetupguide.com

Troubleshooting Vista Wireless
http://chicagotech.net/
guest
 
Posts: 10191
Joined: Mon Nov 27, 2006 1:10 pm

Re: How to delete/remote a user from SharePoint

Postby guest » Wed Jun 03, 2009 9:39 pm

The stsadm command tool is located at the folder < C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN >. We cannot only copy the command tool to a folder and run it directly.



Before we go further, I would recommend you reference the following steps to narrow down the problem:



#1. Please first delete the UserA or UserB from the site collection and then perform the steps below in SSP to delete the user profile:



1. Go to SSP, under User Profiles and My Sites section, click User Profiles and properties.

2. Under Profile and Import Settings, click View user profiles.

3. Find the problematic user profile, delete it. If there are hundreds of users, please use Find function to search the user profile and then delete it.

4. Go back to the User Profiles and Properties page, and then click Add user profile.

5. Enter the user account information, and make sure the Account Name you entering can resolved when you clicking Check Name button next to the Account name field.

6. If you don't want to manually enter the user’s profile, you can run a full import by clicking “Start full import” on the User Profiles and Properties page.



Once you find this user profile gets imported into SSP, please add the user account into the site collection again and then check the result.



#2. To run the stsadm command line, please follow the steps below:



1. Open a command prompt



2. Type the following command lines:



cd C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN



>Enter



stsadm -o migrateuser -oldlogin Domain\UserA -newlogin Domain\UserB



Then, check if the command line can be completed properly.
Tablet and Smartphone Setup Guide
http://www.quicksetupguide.com

Troubleshooting Vista Wireless
http://chicagotech.net/
guest
 
Posts: 10191
Joined: Mon Nov 27, 2006 1:10 pm


Return to Networking

Your Ad Here

Who is online

Users browsing this forum: No registered users and 7 guests