Deleteuser: Stsadm operation (Office SharePoint Server)

SharePoint 2007

Updated: June 14, 2007

Applies To: Office SharePoint Server 2007

Updated: 2007-06-14

Operation name: Deleteuser

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.

Show: