How to get the name of currently logged in user in the network

Hi all,
I want to know if there's a way to get the name of the currently logged in user in the network.
SYS_CONTEXT('USERENV','OS_USER') won't work for me because our users do not loggin in portal.
Any ideas?
Thanks in advance.
Brett

Hello, I had the same problem. Here is a smaller version to find the Group of the current User.
The VI get the members of a Group and match it with the Username.
Note :
If the User belongs to multiple Groups the the VI returns only the 1st Groupname
If the User belongs to no Group then the VI returns "unknown Group"
The VI is written with LabVIEW 2010 and TestStand 4.2.1
Attachments:
current user group.vi ‏20 KB
TestStand get Group of current User.PNG ‏43 KB

Similar Messages

  • Type the name and password of a user in the "(null)" group to allow this.

    To connect to wifi while in the recovery partition, I'm asked to authenticate the wlan's certificate, and in order to do that I'm asked for "the name and password of a user in the "(null)" group" to make changes to the Certificate Trust Settings. Anyone know what or which user may this be?
    I'm not able to pass from the initial apple screen when I boot, so I wanted to repair or reinstall Lion, but in order to do that I need to connet to the WLAN to download it.

    Hi, I called Apple Support this day, and the answer is that enterprise WPA wireless is NOT supported by Lion Internet Recovery.
    You can find the supported configurations and protocols on Apple site:
    http://support.apple.com/kb/HT4718?viewlocale=en_US

  • CAML query to get task assigned to current logged in user

    I want to know the CAML query to get tasks assigned to the currently logged in user
    Nour

    Hi,
    This is the query that worked for me
    <Where>
    <And>
    <Or>
    <Membership Type=’CurrentUserGroups’>
    <FieldRef Name=’AssignedTo’ />
    </Membership>
    <Eq>
    <FieldRef Name=’AssignedTo’  LookupId=’TRUE’ />
    <Value Type=’Lookup’>123</Value>
    </Eq>
    </Or>
    <Neq>
    <FieldRef Name=’Status’ />
    <Value Type=’Text’>Completed</Value>
    </Neq>
    </And>
    </Where>
    Regards,
    Nishant Rana
    http://nishantrana.wordpress.com https://twitter.com/#!/nishantranacrm

  • How to get Group Name of current Group Portal session?

    How do I obtain the Group Name associated with the Group Portal of the current user session?

    Michel,
    Thank you that worked. I have a follow up question that I am hoping you can answer.
    I am trying to build a drop menu for all the Portal Pages that appear in the nav
    bar. The drop down menu items should correspond to the users visible portlets for
    each Portal Page.
    The following code works if the ProfileIdentity is created for the Group, but does
    not return any results if the ProfileIdentity is created with the User.
    PagePersonalization pagePersonalization = portalPersonalization.getPagePersonalization(pageState.getPageIdentifier());
    if (pagePersonalization != null) {
         Iterator menuItr = pagePersonalization.getPortletPersonalizations();
         while (menuItr.hasNext()) {
              PortletPersonalization portletPersonalization = (PortletPersonalization)menuItr.next();
              String portletName = portletPersonalization.getDisplayName();
    Is there another way to obtain the information I am looking for?
    Thanks,
    Diana
    "Michel Bisson" <[email protected]> wrote:
    >
    Diana,
    You can retrieve the group name for the current session as follows:
    // Sample code... (disclaimer: not compiled!)
    import com.bea.portal.appflow.PortalAppflowFactory;
    import com.bea.portal.appflow.PortalSession;
    import com.bea.p13n,usermgmt.profile.ProfileIdentity;
    PortalSession portalSession = PortalAppflowFactory.createPortalSession(request,
    false);
    ProfileIdentity profileIdentity = portalSession.getIdentity();
    String groupName = profileIdentity.getGroupname();
    You can read the Javadoc online http://edocs.bea.com/wlp/docs40/javadoc/wlp/index.html
    for the classes used above.
    Hope this helps.
    Michel.
    "Diana" <[email protected]> wrote in message news:3ce1ac7c$[email protected]..
    How do I obtain the Group Name associated with the Group Portal of thecurrent user session?

  • How to get Manager name of a particular BP/User from territory management

    Hi Guys,
    I want to retrieve the Manager name of a particular BP/User from territory management. The manager might be in any territory hierarchy level above the user.
    Please guide.
    Regards,
    Shaili

    Hi Shailip,
    Basically Territory hierarchy is customized based on client's business, from your reply if i understood properly i think your territory has 3 levels and 
    First level : District
    Second level: Area
    Third level: Branch
    when an employee at third level is passed, you need employees assigned to area and district levelwhich are above Branch(in your case managers)
    Solution:  Example
    First level : District - territory length(2 char)
    Second level: Area - - territory length(4 char)
    Third level: Branch- territory length(4 char)
    1. Read the territory hierarchy(which is customized to meet clients requirement) using function module
        CRM_TERRMAN_TERRLEVEL_READ ehich gives territory levels with territory length and territory offset
    2. pass employee(business partner number) to FM  CRM_TERRMAN_TERR_EMP_DETERMINE  and get the branch path id.
    3. Based on territory length for above levels drill down to Area's path id and District's path id and pass those path id's to
    FM CRM_TERRMAN_EMPLOYEE_DETERMINE  to get managers.
    Hope this helps.
    Thanks,
    Priyanka

  • Get the current Logged on User on Mobile Client

    Hi
    I have to display the current logged in User of the Mobile client in my application. I think I have to use the User and UserManager API for that. But the thing is I am not able to instantiate the class to use the methods in it.I think I have to create a session object for using these classes, but in Session API I can see that I will have to create a new session and I want to use the current session.
    Please tell me how to use these APIs and get the instance of User or UserManager.
    Regards,
    Priya

    Hi Priya,
    You can try with:
    User user = UserManager.getInstance().getCurrentUser();
    The User interface has methods to get relevant information (for ie. getName() or getFirstName()), take a look on the [javadocs|http://help.sap.com/javadocs/nwmobile/SP3/laptops/com/sap/ip/me/api/user/User.html]
    Best Regards,
    Simon.

  • How to get Current Logged in user in Java

    Hi All ,
    I have written a code in to get the current logged in user in the portal in an EJB service.  I have used the code
    *IUser user= UMFactory.getAuthenticator().getLoggedInUser();*. But surprisingly the userId which it returns is always is Guest. Can you please help on this issue.
    Thanks & Regards,
    Rohit

    I do not know your EJB Service. But you should pass the credentials of the current logged on portal user to your service. That's not by default I think.
    I had a similar problem with CAF developed webservices. I had to turn on permission checks in my web service and passed the credentials via logon ticket.
    Regards, Bernd

  • Get username and password of the currently logged-in user in CRM and pass it to the plugin

    Hi,
    I am integrating CRM Online and SharePoint Online. Right now I am using Office365 trial version for both. Hence, the same username and password works for both.
    I want to create sub-site in SharePoint on create of an entity record. Currently, I am passing the admin credentials. But, I want to pass the credentials of the currently logged-in user in CRM to the plugin which is getting executed on create of account entity.
    So that I can then create sub-site in SharePoint using the current user credentials instead of admin credentials.
    Is there way to achieve this?

    Hello,
    You would not be able to get login/password of currently logged in user. I believe usage of admin credentials is the best way to achieve your goal.
    Dynamics CRM MVP
    My blog

  • Login to Jabber Client (Windows/Mac) with current logged in user account.

    We are deploying Jabber Client for Windows and will eventually be deploying for Macintosh.  I have no problem building the thinapp deployment package for the Jabber client.  However, when the thinapp is ran, it always shows the account that was used to initially login to the client and setup the server connection.
    Is there a way for the client to use the current logged in user in the sign in field?  I am trying to automate or SSO the process of logging into Jabber.
    Any and all ideas, tips, and/or tricks are greatly appreciated!
    Thank you,
    Wes

    This is nothing to do with the TC. This is your user issues on the Mac.
    I would do a major fix on the computer.. copy your user files to another location.. create a new administrator account.. login with the new admin account and delete the old one. Delete all the files associated with that account, so you are effectively starting with a clean Mac.
    I have just sold off a couple of computers and that is how I prepared it for the next person.. it seemed to work easily and removed all my stuff from the computer whilst still giving them full admin access.
    Please I am far from expert in doing this kind of stuff in OSX so just look up deleting original user accounts in whatever OS you run.

  • Checking to see if current logged in user is delegated by user on a task

    Hello all.
    I am looking to produce a report that will be run from a users home page (and thus can't take input at run time). It is to show the status of all tasks and appointments.
    The tricky bit is that I need it only to show tasks where the currently logged in user is the user who last delegated the task. I can make this work for the "owner" but not "delegated by".
    As a fall back position I might be able to get away with it looking to check if the current logged in user is the same as the "created by" user, as activities will only rarely be reassigned on.
    Any help appreciated.
    Bob.

    Hi,
    I am writing in to see if there is any update regarding this issue.
    Thanks,
    Linda
    Linda Li
    TechNet Community Support

  • How to get current logged-in user name in data access driver or in universe

    In universe, to get the current log in user is via @Variable('BOUSER').
    Right now, I need to be able to get the user name in the data access driver. I am writing a customized data access driver because we need to patch some where clause on the the query generated by the universe based on the logged-in user info. I only think of using end_sql parameter or adding an universe level filter to patch the @Variable('BOUSER') to the query, which would not work if user want to use customized query.
    Can anyone tell me how to get currentBO user name from connection server ? or how @Variable('BOUSER') is translated into the logged-in user name in the universe?

    I do not know your EJB Service. But you should pass the credentials of the current logged on portal user to your service. That's not by default I think.
    I had a similar problem with CAF developed webservices. I had to turn on permission checks in my web service and passed the credentials via logon ticket.
    Regards, Bernd

  • How to get a name of the current marker?

    I have two director files with same identical marker names (2
    language versions). How I can make a button that changes the
    language (goes to the same marker of the other file). Something
    like... go to "current marker name here" of movie
    "language_2".

    ok, now the really cool method. You can get any marker name
    whether it's
    above the current frame or not.
    mkrName = (the markerList)[(marker (0)).string]
    will give you the marker above the current frame or the first
    marker to the
    left of the current frame if there is no marker above the
    current frame.
    Similarly,
    mkrName = (the markerList)[(marker (1)).string]
    will give you the first marker to the right of the current
    frame whether
    there is a marker above the current frame or not. You can see
    how you can
    get the name of any marker just by changing the parameter of
    the marker ()
    function.
    If you're worried that the first example doesn't tell you
    whether the marker
    is above or behind the current frame a simple test will do.
    if marker (0) = the frame then
    -- this is true when the marker is on the current frame
    end if
    Craig Wollman
    Word of Mouth Productions
    phone 212 928 9581
    fax 212 928 9582
    159-00 Riverside Drive West #5H-70
    NY, NY 10032
    www.wordofmouthpros.com
    "temes" <[email protected]> wrote in message
    news:e4hate$ods$[email protected]..
    >I have two director files with same identical marker
    names (2 language
    > versions). How I can make a button that changes the
    language (goes to the
    > same
    > marker of the other file). Something like... go to
    "current marker name
    > here"
    > of movie "language_2".
    >

  • OIM11gr2 - How to get currently logged in user details using oim api

    Hi All,
    I have a requirement to retrieve currently logged in users profile in the process adapter.
    I have tried with getSelfProfile in tcUserOperation and also ContextManager.getOIMUser API's however, in both the cases i am getting xelsysadm details only.
    Also as know request details in Process task mapping doesnot work for OIM11g onwards (its returning column not found exception )
    DOes any one has idea how to achieve this.
    PS. - i am using platform to retrieve API's.
    Thanks & Regards
    Swati Pandey

    You can get the logged in user name using the below java code:
    ADFContext adfCtx = ADFContext.getCurrent();
    SecurityContext secCntx = adfCtx.getSecurityContext();
    String user = secCntx.getUserPrincipal().getName();
    HTH

  • How to get application names currently running on Windows?

    Hi Experts,
    Please help me how do I get application names (tasks) currently running (as shown in Windows Task Manager-Application Tab) in Windows.
    Thanks,
    Deepak

    Hi....
    probably it's a unusual solution but you could try it....
    Create a *.bat file   call it test.bat .. Create it on your local machine or on your server folder..
    PARAMETERS: DOSCMD(30) DEFAULT 'c:\test.bat' LOWER CASE.
    call function 'GUI_EXEC'
      exporting
        command          = DOSCMD.
    Inside your test.bat file put this code..(it's a dos command to create a txt file containing the output  of tasklist.exe command
    tasklist > c:\test.txt
    In your test.txt file you will have a list of tasks running on windows...
    Hope to help...
    bye...

  • How to get column names for a specific view in the scheme?

    how to get column names for a specific view in the scheme?
    TIA
    Don't have DD on the wall anymore....

    or this?
    SQL> select text from ALL_VIEWS
      2  where VIEW_NAME
      3  ='EMP_VIEW';
    TEXT
    SELECT empno,ename FROM EMP
    WHERE empno=10

Maybe you are looking for

  • Pipeline timeout in sender SOAP scenario

    Hi mates, I've exposed an o/b synch MI as a webservice. A BPM will receive this message and triggers an IDOC generation program on R/3. These IDOCs are collected by BPM and a response message sent to the SOAP caller. When I make a SOAP call, with in

  • How to get rid of Apple RSS/Hot News

    Hot News just started showing up in my inbox. I didn't sign up for it and I don't want it. But I can't find a way to unsubscribe. I would also like to get rid of the RSS folder in the left hand column. Any help? Thanks.

  • IWork '09 - no update in App Store for me

    On the first upon Mavericks installation launch of Pages, Keynote and Numbers (iWork '09) I got the pop-up message that new versions are available. After clicking on Update button the App Store started but showed no updates available. What gives? I'm

  • Modifying custom end user menu - tabs

    Hi I have created a custom form within IdM 8.0. which I want to display instead of default end usermenu form. I have made necessary mapping for form type - "endUserMenu" under form and process mapping. I see my changes under HOME tab of default end u

  • Spotlight releated problem

    I'm currently having issues with the Spotlight (mds) process running at 99% This is the data console has given me tonight and on previous days: Jun 19 22:30:15 alexander-jno-baptistes-macbook com.apple.backupd-auto[266]: Not starting scheduled Time M