Share via


Deleteuser: Stsadm operation (Office SharePoint Server)

Applies To: Office SharePoint Server 2007

This Office product will reach end of support on October 10, 2017. To stay supported, you will need to upgrade. For more information, see , Resources to help you upgrade your Office 2007 servers and clients.

 

Topic Last Modified: 2015-03-09

Operation name: Deleteuser

Description

Deletes a user account from the specified site collection and specified group. Use the group parameter to specify the name of the group to which the user belongs.

Syntax

stsadm -o deleteuser

**   -url <URL name>**

**   -userlogin**

**\[-group\] \<group\>**

Parameters

Parameter

Value

Required?

Description

url

A valid URL, such as http://server_name

Yes

The URL of the Web site from which the user account is being deleted

userlogin

A valid user name in the form:

Domain\user_name

Yes

A string that contains the user name

group

<none>

No

If the group parameter is specified, the user is only removed from the group. Otherwise, the user is removed from all the roles in the Web site.