Retrieve the Current Users User Object

Can anyone point me at a code snippet that will grab the current users "User" object from AD?
I've found endless examples of querying LDAP using a recordset, but not using the system object model. I found it some months back but can't find it now!
Thanks
Gordon

Hi,
According to your description, you issue is more related to VBA code, and this is the forum to discuss questions and feedback for Microsoft Excel, I recommend you post the question toMSDN forum for Visual Basic for Applications
http://social.msdn.microsoft.com/Forums/en-US/home?forum=isvvba
The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.
George Zhao
TechNet Community Support
It's recommended to download and install
Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
programs.
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]

Similar Messages

  • 9i forms/sso - at runtime can I display the current oid user on the form

    Hi ,
    Is it possible programically retrieve the current oid user name so that I can display this name on the form at run time.
    I am also wanting to use the oid user name as a parameter to call a stored procedure inside the form,
    is there a built-in to do this ?
    Thanks
    sd.

    Hi,
    guess that
    declare
    currentuser Varchar2(100);
    begin
    currentuser := get_application_property(sso_userid);
    end;
    does a better job.
    Frank

  • How to retrieve the current User using PL_/SQL code?

    Hi,
    How can find the current logged user within a Dynamic Page using PL/SQL code?
    Thanks.

    Hi,
    There is a function wwctx_api.get_user which returns the logged in user. You can use this in your plsql code.
    Thanks,
    Sharmila

  • How we can get the current running user information in BusinessOne

    Hi experts,
    How we can get the current running user information in BusinessOne Application,
    Based on the user details i want to assign some functionality,
    Regards,
    Saidarao yakkala

    Hi,
    As per me you can't get detail by server side.
    If you want to know who are connected then you can use sp_who2 procedure in SQL query.
    That will display who are login.
    For more detail you have to check LOG file on client side in SAP B1 > Log folder.
    Thanks
    Kevin

  • How to fetch the current login user name at the BI system

    Hi,
    In our scenerio we need a query to fetch the current login user name at the BI system. Would you please suggest the possibilities?
    Thanks and regards,
    Pradip

    Hi,
    The current login id will be available in text elements of query.
    Regards
    Akhan

  • Get the current client-user password

    Hello,
    I implement the following code:
      IWDClientUser user = WDClientUser.getCurrentUser();
      String name = user.getFirstName() + " " + user.getLastName();
    that works without any problems.
    But I need also the password of the current client-user.
    Is it possible to get the password?
    Patrick

    Patrick,
    you mean a "login"? the hash-value won't help you, because as Dominik already mentioned: it's a <b>one-way</b> has, that means you can derive the hashcode from the password and not vice versa.
    your solution would be e.g. to implement a saplogonticket authentication in your second web-server.
    kr, achim

  • HT1349 i lost my iphone... if somebody use it my i phone with different apple ID, Do apple company can determine the apple ID used on my iphone serial number?? If i gave my serial number, can it retrieve the apple ID user???

    i lost my iphone... if somebody use it my i phone with different apple ID, Do apple company can determine the apple ID used on my iphone serial number?? If i gave my serial number, can it retrieve the apple ID user???

    No! Apple is not law enforcement and therefore does not have personal investigating lost or stolen property other than Apple's own.
    Even if they had the information data protection laws would prevent them from giving it to you or anybody else including law enforcement.

  • Retrieving the currently logged in username

    As I'm just starting playing with C3POs, is there an easy way to retrieve
    the currently logged in username? I'm wanting to open up a webpage and
    pass it the username as a parameter. Any suggestions? Thanks!

    I got it figured out. I had to add a reference the GroupwareTypeLibrary
    and then I could use the following code:
    C3POTypeLibrary.IGWClientState6 myCL =
    (C3POTypeLibrary.IGWClientState6)HelpDesk.g_C3POMa nager.ClientState;
    GroupwareTypeLibrary.Account account =
    (GroupwareTypeLibrary.Account)myCL.CurrentAccount;
    string username = account.Owner.EMailAddress;
    username = username.Substring(0, username.IndexOf('@'));

  • How to retrieve the groups a user belongs to?

    Hi,
    I want to write some code which will retrieve all the groups a user belongs in.
    The JAZNUserAdaptor class has a getGroups() method which returns a Set which I iterate through as follows;
    JAZNUserAdaptor jaznuser = (JAZNUserAdaptor)p;
         strFullName = jaznuser.getFullName();
         strRealmName = jaznuser.getRealm().getName();
         strRealmFullName = jaznuser.getRealm().getFullName();
    Set aSet = jaznuser.getGroups();
    Iterator anIter = aSet.iterator();
    Object myObject = new Object();
    while (anIter.hasNext())
    myObject = anIter.next();
    System.out.println("Object To String");
    System.out.println(myObject.toString());
    int aSize = aSet.size();
    String aa = String.valueOf(aSize);
    System.out.println("Size : " + aa);

    Resubmitting
    Hi,
    I want to write some code which will retrieve all the groups a user belongs in.
    The JAZNUserAdaptor class has a getGroups() method which returns a Set which I iterate through as follows;
    JAZNUserAdaptor jaznuser = (JAZNUserAdaptor)p;
    Set aSet = jaznuser.getGroups();
    Iterator anIter = aSet.iterator();
    Object myObject = new Object();
    while (anIter.hasNext())
    myObject = anIter.next();
    System.out.println(myObject.toString());
    The above produces the output
    [JAZNGroupAdaptor: RealmRole: jazn.com/pats_sit]
    [JAZNGroupAdaptor: RealmRole: jazn.com/guests]
    [JAZNGroupAdaptor: RealmRole: jazn.com/users]
    Is there a better way to do this? What type of object is returned from anIter.next()? Is it JAZNGroupAdaptor and where is this class defined?

  • How to Get the Current Logged user location ID in SharePoint online

    Hi All ,
    Please suggest me how we can get the SharePoint online current Login user
    Location ID
    Actually i want to show the weather report in my SharePoint online site (App Part in SharePoint Online Site)
    Suppose SPO user Login From India(Delhi) so that i want to show the India(Delhi) weather report
    If Login user from US(dallas) so that US user see the US(dallas) weather report 
    Thanks
    Deepak Chauhan
    SharePoint 2010 & 2013 and Office-365 Branding and Front End Customization, UI Design

    @Mohamed
    Derhalli ,
    Suppose SPO user Login From India(Delhi) so that i want to show the India(Delhi) weather report
    If Login user from US(dallas) so that US user see the US(dallas) weather report
    so without using how we can show the weather report can you please suggest me how we can show the weather report
    Reply ..
    Thanks
    Deepak Chauhan 
    SharePoint 2010 & 2013 and Office-365 Branding and Front End Customization, UI Design

  • How to retrieve the password of user in BOE thru SDK?

    Dear all
    In Java Code:
    Can we use the administrator to login the BOE, and retrieve the password of specific user in BOE thru SDK?
    Thanks and best regards.
    David Zhang

    Hi Ted
    Thanks for your sharing.
    David

  • Using a bean to capture the currently authenticated user information

    Hi,
    i have an ADF web based application . The authentication and authorization is managed by OID(LDAP) . I want to put user level access in the application. I have made a custom method in the application module, that handles the authorization at user level. But i do not know how to capture the info of currently logged in user. I'am aware i can do this using a bean. Can someone tell me how

    It'd be better to post this to the JDeveloper forum where ADF is covered.
    cheers
    -steve-

  • How we can get the current login user information.

    Hai Experts,
    How we can get the Curren Runnig user, while running the application,
    I tried the below one, but it was not working,
    Dim s As String
    s = objApplication.Company.UserName
    Regards,
    Saidarao yakkala

    Hi.
    Are you try to get and present current user name in workbook or WAD ?
    You may use user exit variable based on sy-uname.
    If you run WAD you may use built webitem info_field and show current user name.
    Regards.

  • IDOC issue: updates MM02 with WF-BATCH instead the current job user

    We have a nightly scheduled batch job that changes the material master through IDOC. The IDOC processing for material master update is successful, except the changes are done with the WF-BATCH user id instead of the user who submits the job step. We are using SAP ECC 5.0. Can anyone help me on this where to change the settings/changes. Appreciate your help in advance.

    WF-BATCH - is an ID in SAP which processes batch workflow tasks.
    So if your IDOC posting triggers workflow task - it's going to be processed by WF-BATCH.

  • Q: How to retrieve the current URL with PL/SQL

    I've got a pair of dynamic page portlets on a page. The first is simply an input text box and a submit button, the second is an inventory 'report' based on what is entered in the text box. When a value is entered and the button pressed, there is javascript behind the button that takes the current URL, adds '&ITEM=XXXXXXXX' (removing it first if this is not the first invocation of the page), and redirects to the new page.
    The second portlet uses the &ITEM parm to list a bill of materials for the item. If one of the items possesses a sub-assembly, I want to display the item# in an <a href= manner to make it so the user can simply click on the link to see the BOM of the subassembly.
    To do this, I believe I need to capture the current url and modify it as required to pass the new &ITEM value. I'm having a lot of trouble trying to figure out how to get the current page url. Any help would be greatly appreciated!
    Geoff

    Hello
    I have a similar problem I have developed a pl/sql portlet and put it into a page, this portlets display a dynamic page. This dynamic page have a search functionality, what I am trying to do is that when I click the search button on the dynamic page it recall the whole page and pass the paremeter that the user wrote on the search box, then the portlet that contains the dynamic page recieve the parameter and recall the dynamic page with the parameter that was received. The problem that I have is that the portlet receive the parameter but when I pass the parameter to the dynamic page it doesn't get it. This is the way the I am calling the dynamic page inside my portlet into the show procedure:
    EXECUTE IMMEDIATE
    'begin
    APP_NAME.PG_DYN_DIR_ALFABETICO.show (
    p_arg_names => PORTAL30.wwv_standard_util.string_to_table2(''url_page'',''search_param''),
    p_arg_values => PORTAL30.wwv_standard_util.string_to_table2(:1,:2));
    end;'
    using url_pg,p_text1;
    The dynamic page receive the first parameter(url_page) but not the second one(p_text1), I have checked that the p_text1 has a value on my portlet before I send it to the dynamic page so I really don't understand why my dynamic page doesn't work.
    Please HELP ME. I am desperate
    Ana Lasprilla

Maybe you are looking for

  • Chinese font characters disappearing in CS6

    I need to redesign an InDesign file that is in Chinese and originally created in CS5. When I open the document in CS6 some characters disappear (no pink box). When I substitute the font with another Simplified Chinese font, some of the missing charac

  • TS1538 Does Ipod Nano (3rd gen) not work with Windows 8?

    I have tried all of the uninstall and reinstalls, upgrades, reset of ipod nano, etc.... Cannot get computer or itunes to recognize ipod nano.  Does this device work with Windows 8?

  • 'Group by' over CURSOR

    hi! i have a problem with grouping over a CURSOR. when i execute the following statement, i get the following error 'not a single-group group function'. how can i manage to group over the CURSOR? or is the problem elsewhere? i cant do sth. like 'grou

  • Looping a folder for pattern files

    Hello Please help me with an answer. I have a folder with more files with same structure generated by ERP. - Purchase_240520080600.txt - Purchase_240520080730.txt - Purchase_240520080843.txt etc Is there a possible to loop into the folder for all fil

  • Can an old Powerbook G4 titanium run OS 10.4

    I have got two questions: - Can I install Mac OS 10.4 on my old Powerbook G4 titanium and upgrade to OS 10.4.9 or OS 10.4.11 for free? - If my old powerbook can run OS 10.4.9 or 10.4.11 will I still be able to boot in OS 9 since I have a few programs