Deleteuser: Stsadm operation (Office SharePoint Server)

Stsadm

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.

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.