Creategroup: 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: Creategroup

Description

Allows site collection administrators to create new groups from any site collection. Users with Full Control/Administrator access on a site can create new groups from that site.

Syntax

stsadm -o creategroup

**   -url <URL name>**

**   -name <group name>**

**   -description**

**   -ownerlogin <domain\user name or group name>**

**\[-type\]**

Parameters

Parameter

Value

Required?

Description

url

A valid URL, such as http://server_name

Yes

Specifies the site collection where the group is being created.

name

A valid group name, such as "Group1"

Yes

The name of the group

description

A valid description, such as "This is a new group for the Sales department"

Yes

Description of the group

ownerlogin

This value takes a valid user name in the form:

Domain\user_name or a valid group name, such as "Group1"

Yes

The owner can change anything about the group, such as adding and removing members or deleting the group. Only one user or group can be the owner. If possible, you should use the People Picker Web control to select users, Windows NT groups, or SharePoint groups.

type

Any one of the following:

  • Member

  • Visitor

  • Owner

No

Specifies whether the group should be a member, visitor, or owner group of the site specified by the URL.