| 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
)
Public Function MoveRenameObject (
objectGuid As Guid,
Optional newParentObjectGuid As Nullable(Of Guid) = Nothing,
Optional newCommonName As String = Nothing
) As Boolean
public:
bool MoveRenameObject(
Guid objectGuid,
Nullable<Guid> newParentObjectGuid = nullptr,
String^ newCommonName = nullptr
)
member MoveRenameObject :
objectGuid : Guid *
?newParentObjectGuid : Nullable<Guid> *
?newCommonName : string
(* Defaults:
let _newParentObjectGuid = defaultArg newParentObjectGuid null
let _newCommonName = defaultArg newCommonName null
*)
-> bool
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:
BooleanTrue if the object was moved or renamed, false otherwise.
See Also