Nov.DS.Object.CopyGroupMembership
Top  Previous  Next


Copies group membership from one NetWare object to another

The target object is first removed from all groups that the destination object is not member of and then added to all groups that the destination object is member of - the target object will be member of exactly the same groups as the source object after this command has been executed.

Requirements
·NetWare client on the local machine, log on as admin  
·Novell controls  

Category
Novell

Script section
All

Nov.DS.Object.CopyGroupMembership SrcNDSObjectPath, TrgtNDSObjectPath

SrcNDSObjectPath
Full NDS path to source object  

TrgtNDSObjectPath

Full NDS path to target object  

Example
Copy group membership from account OAK\MyOrg\MyOU\Templateacc to account OAK\MyOrg\MyOU\OU3\AccountName1

Nov.DS.Object.CopyGroupMembership OAK\MyOrg\MyOU\Templateacc, OAK\MyOrg\MyOU\OU3\AccountName1