Showing results 1 to 3 of 3

Thread: Current user in header section of the project

  1. #1
    Join Date
    09.05.2013
    Posts
    49

    Default Current user in header section of the project

    Dear Sirs,

    I want to show the current logged user in header screen of my project.
    As far as I can understand this is only possible if the screen is from Login type.
    Is that true? Is the any other approach?

    If the screen is from type Login, what is the difference between Control elements "Current user" (ID:10001) and "Display - current user" (ID:10002) because just the second one work for me (meaning shows the current user)?

    Regards,
    Yolov

  2. #2
    josefm Gast

    Default Re: Current user in header section of the project

    Hi

    okay, this one is very easy (as far as I got your needs).

    In zenon you have the system driver. Check it out.
    Just create a new variable of the driver called system driver and select as driver object type the system variable and then you can click on next.
    In the drop down list with the label topic select user administration and add User - full name or User identification, depends on your needs.
    (See also the screenshots)


    Then link the variable to a dynamic text element and check out the runtime


    Best regards
    Attached Thumbnails Attached Thumbnails System Driver Variable Creation.png   System Driver Variable Creation 2.png  
    Last edited by josefm : 25th June 2013 at 16:43

  3. #3
    Join Date
    14.07.2010
    Posts
    46

    Default Re: Current user in header section of the project

    Hello yolovs.

    I checked the mentioned mdi controls.

    The mdi control with the ID: 10002 shows the actual user.
    The mdi control with the ID: 10001 simple serves as a Headline.

    That information is also mentioned in the zenon help documentation.

    Best regards,
    Daniela.

Similar Threads

  1. Change user in global project
    By jurijcadez in forum zenon Supervisor
    Replies: 3
    Last Post: 12th August 2019, 09:51
  2. Replies: 2
    Last Post: 10th May 2013, 16:40
  3. Replies: 5
    Last Post: 5th October 2012, 07:34
  4. Replies: 12
    Last Post: 25th November 2010, 10:54
  5. How to evaluate the user level a user has in the runtime?
    By markclemens in forum zenon Supervisor
    Replies: 0
    Last Post: 6th November 2007, 17:10

Posting Rules

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •