IADsGroup Method: Rename

Rename
(
 NewName As String
);

Parameters

[in] String NewName
New name for the group.

Description
It renames the group with the specified name.

Remarks
This method can also be used to rename local groups.

Example

Dim Group  As IADsGroup
Set Group = GetObject("NTDS://YourDomainName/YourGroup")
Group.Rename "NewGroupName"

 

See Also