RE: User Account "Full Name"....

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Hi,

I believe you are looking for the attribute displayName

Hope this helps,

Brian Delaney
Microsoft Canada
--

This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
From: "Zeno" <momo2804@xxxxxxxxx>
Newsgroups: microsoft.public.windows.server.active_directory
Subject: User Account "Full Name"....
Date: 17 Aug 2006 03:18:30 -0700
Organization: http://groups.google.com

Can anyone tell me the parameter name for the "FullName" field when
creating AD Users via script...

I have a script as such
Set objOU = GetObject("LDAP://OU=HKG,dc=cn,dc=com";)

Set objUser = objOU.Create("User", "cn=SmithJoe")
objUser.Put "sAMAccountName", "John Smith"
'objUser.Put "FullName", "JSmith"
objUser.SetInfo

I want to be able to create the account where I can change the value of
the FullName but I cann't find the parameter value..........

This is because our co. has a certain policy and we need to use a
different format for the FullName...... I will be bulk creating users
via a script so I have the FullName value populated with a specific
value.....

Any help would be appreciated...............



.



Relevant Pages

  • Re: Im new to scripting a I working on a project that I need some help with.
    ... After that the script ... >> that the user account is not valid. ... > it to the Administrators group: ... If the user does not have it, maybe a RunAs solution ...
    (microsoft.public.scripting.vbscript)
  • Re: Memory consumption PowerShell
    ... The mechanism of the Identity Management system (it is Novell Identity ... And we could initiate to run a script oout side the IDN 3.0. ... is the case we want to do, if a new user account was created. ... memory. ...
    (microsoft.public.windows.server.scripting)
  • Re: simple Q for advanced: how to find out what rundll32.exe is executing?
    ... You may use the following script. ... Lists all the processes running in the ... currently logged on user account. ... Dim strUserName ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Local account creation
    ... What I want to do is to use the script in a startup GPO so that there a generic local admin account on all computers for the helpdesk staff to logon to and perform troubleshooting/etc. ... Dim objNetwork, strComputer, strUser ... ' Specify name of local user account to be created. ...
    (microsoft.public.windows.server.scripting)
  • Re: Im new to scripting a I working on a project that I need some help with.
    ... > on the local network taken care of, I can run a batch file that can do a run ... > that the user account is not valid. ... In the link below is a script that creates a new user account and adds ... Different RunAs products listed here, ...
    (microsoft.public.scripting.vbscript)