SharePoint2007Provider::UpdateGroupInfo

This procedure of the Users and Groups service updates information for the specified group.

Arguments

Input Arguments Required Description

<target>

Yes

The URL of the Windows SharePoint Services administration site.

<siteGUID>

Yes

The globally unique identifier (GUID) of Windows SharePoint Services site collection.

<subSiteGUID>

Yes

The GUID of subsite.

<groupName>

Yes

A string that contains the name of the group.

<newGroupName>

Yes

A string that contains the new name of the group.

<ownerId>

Yes

A string that contains the user name (DOMAIN\User_Alias) for the owner of the group.

<ownerType>

Yes

A string that specifies the type of owner, which can be either user or group.

<description>

Yes

A string that contains the description for the group.

Remarks

The underlying Windows SharePoint Services API does not provide a mechanism for updating any subset of these parameters, so all of them must be supplied. This method supports rollback.

Sample Code

Example XML Request

<request> 
   <procedure> 
      <execute namespace="SharePoint2007Provider" procedure="UpdateGroupInfo" impersonate="1"> 
         <executeData> 
            <target>https://WSSFE:8080</target> 
            <siteGUID>dc1da147-017e-463b-9b64-e1f5ec786183</siteGUID> 
            <subSiteGUID>eb4b26a6-8b9a-4fe4-9e16-d9b2c731088c</subSiteGUID> 
            <groupName>SPNSTestGroup</groupName> 
            <newGroupName>SPNSTestGroupNew</newGroupName> 
            <ownerId>Fabrikam\Administrator</ownerId> 
            <ownerType>user</ownerType> 
            <description>UpdateGroupInfo Test.</description> 
         </executeData> 
      </execute> 
   </procedure> 
</request>

Applies To

SharePoint 2007 Provider for:

  • Hosted Messaging and Collaboration version 4.5

  • Hosted Messaging and Collaboration version 4.0

See also

Tasks

SharePoint2007Provider::GetGroupInfo