Creategroup : opération Stsadm (Office SharePoint Server)
Mise à jour : 2007-06-14
Operation name: Creategroup
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:
|
No |
Specifies whether the group should be a member, visitor, or owner group of the site specified by the URL. |