I don't understand the quesiton. You want an environment variable that resolves to the value of the sn and givenName attributes strung together? --Brian
-----Original Message----- From: joe [mailto:[EMAIL PROTECTED] Sent: Thu 5/6/2004 7:52 AM To: [EMAIL PROTECTED] Cc: Subject: RE: [ActiveDir] Variables allowed for creating home folders Unfortunately Stephen I have never seen anywhere that this may be something that is configurable. I highly doubt that it is. joe _____ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bell, Stephen Sent: Wednesday, May 05, 2004 12:09 PM To: [EMAIL PROTECTED] Subject: [ActiveDir] Variables allowed for creating home folders My question is this. Is there a variable that I can use when creating user home directories that will resolve to the âUser Logon Nameâ just as &username& resolves to the samaccount name or âPre Windows 2000 User Logon Nameâ field? Background: Normally what I use when creating home directories (actually allowing AD to make them I should say) is (location)\&username& and this creates the home directory using the name shown in the âPre Windows 2000 User Logon Nameâ field (actually the samaccount name I believe). Do to a change in naming conventions I would like to adjust that. The new naming convention is the âPre Windows 2000 User Logon Nameâ field will be a number such as 12345 while the âUser Logon Nameâ will be the users name. I would prefer to have the home directories name be a little more readable rather than have people having to remember their number. This is only an issue when going though the GUI. Iâve all ready got the script that I use to make users in batch mode converted over. I just took the UPN name and stripped off everything after the @ character and used that to name the home directories. Thanks for any help! Steve
<<winmail.dat>>