Click or drag to resize
Galactic API

ActiveDirectoryMoveRenameObject Method

Moves and / or renames an object in Active Directory.

Namespace:  Galactic.ActiveDirectory
Assembly:  Galactic.ActiveDirectory (in Galactic.ActiveDirectory.dll) Version: 1.3.0.499 (1.3.0.499)
Syntax
public bool MoveRenameObject(
	Guid objectGuid,
	Nullable<Guid> newParentObjectGuid = null,
	string newCommonName = null
)

Parameters

objectGuid
Type: SystemGuid
The GUID of the object to move and / or rename.
newParentObjectGuid (Optional)
Type: SystemNullableGuid
(Optional: Required only if moving) The GUID of the new parent object for the object (if moving).
newCommonName (Optional)
Type: SystemString
(Optional: Required only if renaming) The new common name (if renaming).

Return Value

Type: Boolean
True if the object was moved or renamed, false otherwise.
See Also