Nov.DS.Object.SetGroups
Top  Previous  Next


Sets or edits NetWare object group membership

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

Category
Novell

Script section
All

Nov.DS.Object.SetGroups NDSObjectPath, NDSGroupPath1, NDSGroupPath2, ..., NDSGroupPath10

NDSObjectPath
Full NDS path to object for which to modify group membership  

NDSGroupPath1..NDSGroupPathX
List of full NDS paths to groups that the object should be member of (maximum 10)  
 
The object is added to listed groups that it is not already a member of and removed from not listed groups  

Example
Set group membership for account "Steve" in OAK\MyOrg\MyOu to "MyGroup" and "Teachers"

Nov.DS.Object.SetGroups OAK\MyOrg\MyOu\Steve, OAK\MyOrg\MyOu\OU3\MyGroup, OAK\MyOrg\MyOu\Teachers