Quantcast
Channel: Software Communities : Popular Discussions - ActiveRoles
Viewing all articles
Browse latest Browse all 1277

Update profilPath after onPostMove

$
0
0

Hello,

 

I am trying to use a script which will update profilePath attribute when the user is moved into a different OU.

 

Exemple :


old_profilPath : \\mydomain\AJAC\profils\U1\n.test

new_profilPath must be : \\mydomain\ALBI\profils\U1\n.test

 

The string ALBI is the description of OU -2 level.

 

--rootOU

----GroupsOU (description = ALBI)

----PrintersOU

----UsersOU

 

The destination OU is : ----UsersOU

 

$strContainerDN = $Request.Parameter("TargetContainer")


i can't retrieve the description of GroupsOU in onPostMove function;

 

Thank you for your help;


Viewing all articles
Browse latest Browse all 1277

Trending Articles