Echo Full Name not shortname?

Is there a way to echo a the full name of the currently logged in user? I need to write a LoginHook that will connect a local users to their SMB home share. The script will be used for around 500 young students all running 10.7.2. So when a user logs into their one to one machine the hook will grab their First "space" Last name, set it equal to a variable and then just fill in the blank of the path to their home. If someone has an easier solution please let me know! Thank you in advance.
mount_smbfs //domain.k12.us;20%@studentshares/homes/middle\ schools/school/$USERFULLNAME

Multiple ways to do this. Here's one:
tell application "System Events"
          tell current user
                    set fn to full name
          end tell
end tell

Similar Messages

  • DLU - Full name not inserted, using the username instead

    Hello,
    I'm having issues with any DLU I've created through ZCM 10.3.1 where I use the USER-SOURCE as source for the credentials the DLU must create.
    - The backend is eDirectory 8.8 SP5? (newest available for SLES 10 SP3 x86_64 with OES2 SP2)
    - The ZCM servers at the moment uses the ADMIN account to read the backend eDirectory to be sure its no issues related to rights.
    The DLU(s) creates the user(s) on the local workstation and is able to log in and off without issues. The only related error I can find in the log is:
    ZMD - No user daemon registered - Will try starting it.
    ZMD - ZenNative.StartUserDaemon(0) returned 1245
    Any thoughts on what this might be caused by?
    Kind Regards,
    Rune "TheFlyingCorpse" Darrud

    Originally Posted by Michael_Fleming
    You mean the fullname on the local Windows account is not populated? What about the description or anything else? What happens when you browse the user source in ZCC, can you read the users fullname there?
    The Full Name field is populated, with the username, cn, not the Users Full Name.
    It only appears as though the Full name that I see through ConsoleOne is not the same as what ZCC see's as the full name.
    Do you know what attribute that might be named? I thought it was straightforward considering they're both Novell products and has a history together :)
    Example:
    Code:
    User in eDirectory:
    Full name=Thomas Peterson
    cn=cpet
    User on local workstation:
    Full name=cpet
    cn=cpet

  • Why is my screen name not displayed?

    Hello,
    When I signed up for the community forums I selected a screen name but my full name, not screen name, shows up when I post a question. I don't see full names displayed for any other users, why does my full name show up? How can this be fixed?

    Your full name shows only to you; we see your screen name of packetstar.
    Use the drop-down next to your user name at the top of the page and select Edit Profile, then Your Profile and Privacy tabs if you want to tweak your settings.

  • User´s Full name is displayed when sending email from Blackberry device

    Dear readers
    Im working with BlackBerry_Enterprise_Server_for_IBM_Lotus_Domino and the problem is that  
    When I am sending email to other users outside, the reciver sees the full name not the email adress.
    . I mean, when I am sending email to other people my details goes like Peter White/Director/Company not with my e-mail [email protected]
    Please..can anyone help me
    Best regards

    Right, I may have misunderstood what you meant by download to desktop. When I click the attachment, I can either "Open with: Text Edit (drop-down menu)" or Save. But save doesn't save to desktop. I can "Open with: Microsoft Word" fine.
    When I compose an email, I click attach. I select the file that is in a .docx format. It appears to load to the email correctly, and if I click that extension, it opens correctly in Word out of the pre-sent email. After being sent, it appears in god knows what format and wishes to open from TextEdit.
    Was I doing something wrong when you wanted me to download to desktop?

  • Problem with Calendar and drag and drop a name to a Time spot with palm desktop. Full name does not appear only last name.

    Im having a problem with the palm desktop. When in “Contacts” and I list (LastName,First name) and then I move to the Calendar and drag and drop a name to a Time spot Only the LAST name of the Person appears. How can I fix this so that I can see there full name ?
    Also when If list (Company,Last Name) then go to calendar Some of my contacts are out of order but if I drag and drop them into the calendar day the full name appears. Is there any why of fixing this ? Or having it work properly ?
    Im running  XP pro
    Palm Desktop Version 4.1.4
    Post relates to: Treo 680 (Rogers)
    Message Edited by corrado on 07-21-2008 08:55 AM

    Any Idea how to fix the problem that I am getting when using the (Company,Last Name) and the contacts being out of order in the calander ? I have some last names starting with A then it goes to D then a B then a stack more A and none of then have a Company field filled out in them in them...
    Thanks for looking into that for me but it seems really stange to offer the option but not put in the first name in the calander when you drage the name over. I hope this is fixed in the future. Can anyony sugest another desktop platform I can use if I cant fix my problem with the   (Company,Last Name) problem?
    Post relates to: Treo 680 (Rogers)

  • Full Name(USR_FULL_NAME) is not showing up in User Defn of  "OID Process"

    I have made the "Full Name" (USR_FULL_NAME) field visible under section "Basic User Information" by going to OIM-UI -> Advanced -> User Configuration -> User Attribute. Note that this 'Full Name' field is not same as out of box 'Common Name' or 'Display-Name'. This is not based on First-Name & Last-Name combination, but a user editable field.
    When I configure pre-pop adapter or "OID User" process, I do not see this field in "User Definition" drop-down list. I see all the corresponding fields of USR except this one field. What could be going wrong here ?
    Thanks!
    Kabi

    Thank you all.
    Note that, I can see the "Full Name" in create user screen and able to enter data for this field. However, I do not see this field in 'User Definition' drop down list when I try to map it in a pre-pop (or oidMODIFYUSER) adapter.
    I checked the attribute lists of all OOB 'Authorization Policy' involving "search user" permission and found the 'Full Name' is already selected. What else I should be looking for ?
    Thanks!
    Kabi

  • Navigational Attribute Filter value selection not showing full name

    Hi Experts,
    We are having Navigational Attribute TM Responsible. We have created variable in BEX for it. When we are searching for value selection for this in RSRT, its showing only last name and key part. But If I dont pass any values, and display the result its showing full name. Please find the screen shots.
    Customer needs full name to be available for selection in filter in above picture 1.
    Please suggest what needs to be done.
    Thanks,
    Govind

    Hi All,
    The issue is resolved. Making display as Long text at Infoobject level and at Query display level was not working. Hence I tried to change the display at Multiprovider level as shown below. This fixed the issue.
    Right click Navigational attribute -> Provider specific properties
    Made the display as Long text.
    This setting resolved the problem.
    Thanks for help and replies.
    Thanks,
    Govind

  • I just set an administrators name (my full name) and password for parental controls (using the one I always use) and now after restarting and trying to make changes to aprental controls it does not recognize my password

    I just set an administrators name (my full name) and password for parental controls (using the one I always use) and now after restarting and trying to make changes to aprental controls it does not recognize my password

    Hello, do you have another admin account to log into for a test?

  • Not able view full name of external business partner in Lync online meeting.

    Hi
    I am not able view full name of external business partner in Lync online meeting.it is showing only First Letter and position title.
    example( D...Global Team Lead)
    It is difficult to find the names please help me, what will be the problem.
    Thanks...

    Hi,
    Did the issue happen for one partner or for multiple partners?
    Did the issue happen for single online meeting with external business partner or for multiple online meetings?
    Please update to the latest version for Lync server and Lync client and then test again.
    In my Lync environment, on a Lync online meeting which included external federation users, I can see the full name of them.
    Best Regards,
    Eason Huang
    Eason Huang
    TechNet Community Support

  • User creator is not registering full names. Any ideas?

    On our setup, the helpdesk admin (me) enter the names manually through the settings page.  I will set this up in the helpdesk, settings, user accounts page.

    Whenever someone submits a ticket through our servers, some people have their names entered in the form of emails rather than their full name. For example, in the picture attached, Aaron and Maureen have their first and last name automatically filled out. (I covered their last name for confidentiality) and then for lweston@(company email), it does not automatically fill in their full name.
    Would anyone have any idea how to fix this? I apologize if this question may seem confusing
    This topic first appeared in the Spiceworks Community

  • Certain characters not appearing in the "full name" when sending e-mail

    I have certain characters in my full name of one of my e-mail aliases in iCloud. However, those characters are simply absent from the name shown as sender name when sending mail from Mail app in OS X. For me the problematic characters are C5 A1 and C4 8D (UTF-8 codes).

    Yes, š and č are those. Sorry, I wasn't sure if they will work here. I have my full name containing the š and č in the "Full Name" field of the e-mail alias settings on web interface to the iCloud Mail. But in Mail on OS X my name in the "From" field appears without those two characters (other characters are OK) when I select this alias. Also, those two characters are invisible at the recipient's side. And yes, if I sent a copy of such a mail to myself the š and č are missing again in the "From" field.
    However, I have the same full name with š and č for my main e-mail address (iCloud account name). Using this main e-mail address š and č appear everywhere!
    Message was edited by: mikkec

  • Can you increase the viewable filename length in pages 'grid view' so the full name of the file is shown and not ellipses.

    I am aware of the terminal command which allows you to view more of the file name for files located on the desktop. Is there something similar for pages?
    The problem is only apparent in grid mode.
    See attached.
    For all of Apple's perfection for design and intuition, this is always something they seem to have neglected.

    You can either hover your mouse over the filename for a second and the full name will appear, or revert to list view.

  • Changing your account full name

    Is there some way to change the fullname of an account?
    My current account is like this:
    Fullname: John Doe
    UNIX name: john
    I want my Fullname to also be just John, because it frequently puts in my last name when I don't want it to in various apps, and I see it from other systems when I rather just see my given name as my full name.
    If I try to change my fullname to "John", it says the name is taken, which isn't true, but I assume is because it matches the account UNIX name.
    Since the two do not conflict, this is likely a bug in the account preference. Anyone found a way around it?
    You can create brand new accounts with the same fullname and UNIX name, but evidently can't do that once one has been created.
    Thanks.

    Ah, figured it out... run the following command with sudo or from root account:
    dscl . create /users/<shortname> RealName <new long name>
    That fixes it nicely.

  • Having problem with display of full name in finder bar!

    As shown in the image above, my full name in finder bar is not showing properly. When I select 'icon' from system preferences it shows correctly, but when I select full name or short name, it touches the top.
    Help me fixing this issue!

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It won’t solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of this exercise is to determine whether the problem is caused by third-party system modifications that load automatically at startup or login. Boot in safe mode and log in as yourself. First, disconnect all wired peripherals except keyboard, mouse, and monitor, if applicable. The instructions provided by Apple are as follows:
    Be sure your Mac is shut down.
    Press the power button.
    Immediately after you hear the startup tone, hold the Shift key. The Shift key should be held as soon as possible after the startup tone, but not before the tone.
    Release the Shift key when you see the gray Apple icon and the progress indicator (looks like a spinning gear).
    During startup, you will see "Safe Boot" on the login screen, which appears even if you normally log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Safe mode is slower than normal, and some things won’t work at all, including your login items.
    Test again. Same problem now?
    After testing, reboot as usual (i.e., not in safe mode.)

  • How to show full name of user in crystal report

    Hi. I am using Crystal Report 2008. I need to show full name (first name and last name) of the user logged in. Currently I am using "currentceusername" but it shows the user id that a user uses to login.
    Is there any way to show the full name of the user in crystal report?
    Thanks in advance.

    Hello,
    Not you H4... Can I suggest if someone replies to actually add something of value!!!!
    Cr does not have the ability to query your AD Server. What you would have to do is use a AD query tool or Export Option and export the user info from the log on ID into a Excel or an Access table or something CR could report off of. Then you can add a subreport to get the name from the ID and insert it into the main report.
    Check with your IT department, they should have tools to get the info. I'm not sure if there is a DB connector that would allow you to query the AD server directly but if there is one and it supports ODBC then you can use that as your subreport Data connection.
    Typically names do not change that often so rather than running the Query every time the report is generated it would be better to export the info to a text type file and simply use it for your report. IT can put a rule on to export if the Names change.
    Thank you
    Don

Maybe you are looking for

  • WRT54G v5 Help required!

    Here's the problem. My router was working fine with an NTL modem, then I moved house, new broadband provider and the router just will not work. The broadband works fine when connected directly to the computer, but insert the router, nothing! During s

  • HP PAVILION DV 2500 IS FULL OF FACTORY DEFECTS!

    SHORT OF 12 MONTHS, I CAN NO LONGER USE MY HP PAVILION DV 2500.  WHAT DID HP SERVICE CENTER SAY AFTER TWO WEEKS WITH THEM?  REPLACE THE MOTHERBOARD!  IT WILL COST ME  $350 PLUS TO REPLACE IT.  A BIG RIP OFF!  I WILL NEVER EVER BUY ANOTHER HP!  AND I

  • Creating DR standby from RAC to single NODE

    OS and Database versions Primary: node1:- OEL 5.7 node2:- OEL 5.7 inst1:- prod1 Oracle 11.2.0.3 inst2:- prod2 Oracle 11.2.0.3 Standby: OEL 5.7 Oracle 11.2.0.3 NOTE:- Creating Standby on Single node. My scenario: ============ node1:- linuxdb1 node2:-

  • Reading audio input using dsnoop

    I have an app that can only run in Flash under Windows. I can get it to mostly work under WINE, but there are parts that need microphone input. Winecfg lists the writeable audio device as dmix:0, and the readable as dsnoop:0. Obviously the dmix:0 wor

  • What camera would you recommend

    What a great source of information this group is. In my quest for knowledge on iMovie HD 6, I have been lurking and reading just about everything posted. I can't help but notice the variety of cameras, and formats that are being used. Since I'm at a