Deleteuser: Stsadm operation (Windows SharePoint Services)

Applies To: Windows SharePoint Services 3.0

 

Topic Last Modified: 2007-06-08

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.