Getting User Details using objectid

Hi,
First i am querying the projects using ALUI IDK
===========
IProjectManager projectManager = GetProjectManager(Request, Response);
IProjectFilter projectFilter = projectManager.CreateProjectFilter();
projectFilter.NameSearchText = searchText;
Plumtree.Remote.PRC.Collaboration.Project.IProject[] projects = projectManager.QueryProjects(projectFilter);
=================
then i am retreiving User IDsadded as Project Leader
========================
IRole role = null;
RoleTypes roleType = RoleTypes.Leader;
role = project.GetRole(roleType);
int[] GroupID = role.GetMemberIDs(MemberQueryTypes.AllGroups);
Display Group ID
=========================
Now the issue is i am not able to figure out how to get the users detail ie authusername, login name etc present in the groups that are retrieved.
Regards,
Ankit
Edited by: electrazy on Jul 18, 2011 11:39 AM
Edited by: electrazy on Jul 20, 2011 2:22 AM

Hello electrazy,
This is not possible from within the IDK. The best you can get are the Extended Data properties that are associated with the user object in the Global Property Map. If you want to get user information like the authentication name and the login name, you'll have to use the Portal Server API or directly query the database.
-Mike Headley, WCI Developer Support

Similar Messages

  • Where does apex get user details from for login in

    sorry for this stupid question. I have been looking up in google "where does apex get user details from for login in" and nothing answers my question. Basically I wanted to know when you log in your application how does apex know you have access to this application. How does it know you are a valid user because I am creating an application which basically checks if a user exist in one database and also checks if he/she exist in the second database.
    Thanks you and sorry if this is very newbie

    In the page 101 which is the login in page in the login in process. I have this in the source its not working in term of it is not letting me login in anymore even though I exist in the user table.
    DECLARE
    v_access_level number;
    BEGIN
    SELECT count(*)INTO
    v_access_level
    FROM USER
    WHERE UPPER(USER_NAME) = UPPER(:APP_USER);
    IF NVL(v_access_level, 0) !=0 THEN
    wwv_flow_custom_auth_std.login(
        P_UNAME       => :P101_USERNAME,
        P_PASSWORD    => :P101_PASSWORD,
        P_SESSION_ID  => v('APP_SESSION'),
        P_FLOW_PAGE   => :APP_ID||':9'
    ELSE
    wwv_flow_custom_auth_std.login(
        P_UNAME       => :P101_USERNAME,
        P_PASSWORD    => 'YtYuTrFRd',
        P_SESSION_ID  => v('APP_SESSION'),
        P_FLOW_PAGE   => :APP_ID||':9'
    END IF;
    end;
    please bare in mind that my USER table DOES NOT have a password because the authentication scheme as all the details of login in to any systems. I am only trying to check if the username exist in my USER table.
    Thanks

  • 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 User Details in Collaboration ....?

    HI,
    In collaboration i am unable to see the full User Details (Like Mobile Phone Number, E-Mail Address, etc)  ,When i was click on
    user Names. Here i will get full  User Details for some users and for some users i did not get(But getting only Last Name &  User ID )  . Here we  already having Data in User
    Profiles.

    Hi,
    Maintain the user profile information for all the users in Identity management.
    Regards,
    kiruthika

  • Getting SC details using Backend Purchase Order

    Hi Friends,
    I am running a report in backend (R/3), I want to get shopping cart details from SRM simply by passing backend <b>purchase order number.</b>
    Can you suggest me a function module in SRM side please?
    Regards.
    Pras

    Pras-
    I can't think of an existing FM to get SC details knowing the backend PO number, however you can easily find the shopping cart ID if you use view BBP_PDVIEW_BIH, select using your PO number as BE_REFOBJ, technical docuemnt type for PO as BE_REFOBJ_TYPE, and ideally you should do the select per PO item # and R/3 Logical system.  So just make a wrapper function module with this logic.
    The cart will be returned in the table as the object ID.
    You can then use the function BBP_PD_SC_GETDETAIL to get your shopping cart details you required.
    Regards-
    b

  • How to update the loggedin user details using iuser

    Hi,
    our requirement is to edit and save the logged in user details retrieved from iusercontext.
    Please anyone help me out.
    please provide any sample code snippet regarding the same.
    Thank you,
    Hareesh
    Edited by: hareeshvenkat on Aug 30, 2011 12:42 PM
    Edited by: hareeshvenkat on Aug 30, 2011 2:03 PM

    Hello,
    You can change details of the user via IUserMaint interface.
    for example this is how you change the language of the user :
    IUserMaint Muser = uf.getMutableUser(userUniqueid);
    boolean res = Muser.setLocale(new Locale("en"));
    Muser.commit();
    You can find details about IUserMaint  in [http://help.sap.com/javadocs/NW04S/SPS09/se/com/sap/security/api/IUserMaint.html]
    Constantine

  • Get user details from OIM User From based on Last modified time stamp

    Hi Gurus,
    I have a requirement that i want user details from OIM(11gr1) User form based on some time stamp.
    suppose my time stamp is 201401011130.
    And i changed one user in user form at 201401011200 (let sau user name is mahesh)
    now when i run the java code based on the time stamp i want mahesh details. How can i do this.
    Please let me know.
    Regards
    Mahesh

    This is how you can run sql query.
    String query="write sql query";
    Connection con=Platform.getOperationalDS().getConnection();
    Statement st=con.prepareStatement(query);    // PreparedStatement is preferable instead of Statement
    ResultSet rs=st.executeQuery();
    while(rs.next())
    String userlogin =rs.String("usr_login");

  • Parse JavaScript '.pac' file and get proxy details using C# code

    Hi,
    I have PAC  file --> (A proxy auto-config (PAC) file defines how web browsers and other user agents can automatically choose the appropriate proxy server (access method) for a given URL (inbound request)).
    This PAC file contains a JavaScript function “FindProxyForURL(url, host)”. This function returns a string with one or more access method specifications. These specifications cause the user agent to use a particular proxy server or to connect directly.
    Eg:
    function FindProxyForURL(url, host)
                    // declare variable strings
                    //incorrect proxy value
                    var use_proxy_yes = "PROXY MyWrongServerAddress:8080";
                    //correct proxy value
                    //var use_proxy_yes = "PROXY MyCorrectServerAddress:8080";
                    var use_proxy_no = "DIRECT";
                    //we can keep adding all the url here for which we do not want proxy
                    if (shExpMatch(url, "*.MyWebsite.com*")) { return use_proxy_no; }
                    // Proxy anything else
                    return use_proxy_yes;
    } This method will be saved as 'proxy.pac' file.
    From C# code i have to parse the above 'proxy.pac' file and get the proxy value that it returns based some condition specified in above method.
    Please someone help me know how i can achieve the above requirement. Thanks in advance.
    Chetan Rajakumar

    Hi,
        HTTP Connection created in ECC is used for retrieving the SWC components of IR....but it cannot be used by PI for psoting the data to Proxy...
    so in this need to provide the needed details at XI adapter level ...
    chk the below blog which can give u an idea...
    /people/siva.maranani/blog/2005/04/03/abap-server-proxies
    Also for the above error check below threads
    SLD_NO_OWN_BS
    error: SLD_NO_OWN_BS, proxy scenario
    HTH
    Rajesh
    Edited by: Rajesh on Apr 15, 2010 12:04 PM

  • How can i get user to use my application without logging on as a developer?

    Hi
    Can anyone tell me or point me in the direction of information regarding allowing users to be pointed straight to an application on apex. Curently i log in via the apex.oracle.com home page use my database name then my username and password. But that only gets me in i want to allow user to be able to view and use the applications. How can i do this? Or is this indeeded possible i would assume that it is.
    thanks
    Dan Stead

    Dan,
    Another possibility is that if you host it yourself, or go with one of the production hosting companies then they can help you to configure it so that you can point a DNS name (e.g. www.yourapp.com) to point to your application, so that is all your users would need to enter into their browsers.
    You can find a list of hosting providers here -
    http://wiki.shellprompt.net/bin/view/Apex/HostingExamples
    (in the interests of disclosure, I run one of those companies on the list)

  • Unable to get User Email Using PDK API

    I have to get portal user email in my jsp portlet. I have use the PDK API :
    PortletRenderRequest pr = (PortletRenderRequest) request.getAttribute(HttpCommonConstants.PORTLET_RENDER_REQUEST);
    String Email = pr.getUser().getEmail();
    But the result of Email is null and i have inserted the user email in portal user profile. Does anybody can help me on this?
    Thanks
    Siti

    What's your Portal version? In 9.0.2.6 and above you can retrieve Email information from the Oracle Internet Directory (OID).
    Take a look at the Installing the Oracle Internet Directory Portlets and the An Overview of Provider & Portlet Security PDK articles.
    Peter

  • How to get user detail (Customer number) in Visual Composer

    Dear All
    I am developing a Sales Order Search application for Customers of my company.
    Whenever customer logs in to the portal and access this application, he will get the information on Sales Orders created by him.
    VC application should capture the customer number of the user and execute the BAPI.
    I am not able to capture the customer number of the customer logged in.
    In our portal implementation, customer number is a customized entry in Identity management.
    Using User Data in VC is not helping me as I am not able to see customer number in it.
    Kindly help.
    Regards
    Vineet Vikram

    Hi
    It is resolved now.
    Regards
    Vineet

  • Getting user details in a form

    Hello,
    I am trying to get a form to display the email address of the Administrator who is entering data into the Form.
    The form is tied to an Admin Role, so many different users can summon the form up.
    What XPRESS code would extract the email address of the User object who is logged in and entering the data into the (say) Create New User form.
    Regards, GMN

    Are you sure of this?
    I want to display the email address of the User logged in ON THE USERS FORM when he creates a new user or edits a user.
    i.e. I have a FORM say MyTabbedUserForm which is used by the admin user. Lets say this Form is used by several administrators Admin1 Admin2 Admin3 all these 3 have MyTabbedUserForm set as their 'User Form'
    What I want is to display in a label on MyTabbedUserForm the email address of Admin1 if it is Admin1 who logged into the admin interface and is creating a new user, or the email address of Admin2 if it is Admin2 who logged into the admin interface and is creating a new user and so on.
    <ref>WF_CASE_OWNER</ref> doesnt cut it as the Form has no workflow.
    Maybe a better question to ask, if how do I determine the accountId of the User logged in?
    It must be possible as I can see on the admin interface the text "Logged in as: xyz"
    If I knew the accountId of the user logged in, then I can get the email etc etc..
    Can anyone really help?
    thanks

  • Get User DN using View WSDL

    Hi all,
    Do anyone know, how to get the user DN value using the "oblixIDXML_um_view" WSDL. It will appreciated if you can the send the request message.
    Thanks in Advance.

    Below is valid IDXML for a user view request. You need the DN as an input to the request.
    Typically you either know the DN from a previous search or you have pulled it from the ObSSOCookie with the Access SDK or it's made available to you in a Cookie or HeaderVar via the WebGate.
    Try having an authZ action setting a HeaderVar called userDN with obUniqueId as the attribute name. That will set the DN in the headers. Hope that helps.
    <?xml version="1.0" encoding="UTF-8"?>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas-xmlsoap.org/soap/envelope/" xmlns:oblix="http://www.oblix.com">
    <SOAP-ENV:Body>
    <oblix:authentication type="basic">
    <oblix:login>dummy</oblix:login>
    <oblix:password>dummy</oblix:password>
    </oblix:authentication>
    <oblix:request function="view" mode="dataonly" version="NPWSDL1.0">
    <oblix:params>
    <oblix:uid>uid=foo,ou=employees,ou=people,dc=company,dc=com</oblix:uid>
    <oblix:attrName>uid</oblix:attrName>
    <oblix:attrName>sn</oblix:attrName>
    <oblix:attrName>mail</oblix:attrName>
    <oblix:attrName>manager</oblix:attrName>
    </oblix:params>
    </oblix:request>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>

  • Get user details in Property Filter

    Hello all,
    I want to get  the IUser details inside filter() method of PropertyFilter.
    Thank You
    Regards,
    Devasarathy Pandi.

    Dear Detlev Beutner ,
    Thank you for your Reply. You are absolutely correct.
    Here is my code:
    IUser user = this.createResource(String).getContext().getUser();
    myLoc.infoT("IUser Name -->  "user.getName()" ID --> "+user.getId());
    IResource recurso = this.createResource((String) this.values.get(0));
    IResource res = this.getResource();
    myLoc.infoT("User Created By is -- > "res.getCreatedBy()" Name "+res.getName());
    **These code doesn't help to us.**
    Thank You Very Much.
    Note:
    If anybody wants to create repository service, we again follow the Mr. Detlev Beutneru2019s code.
    Ref:  Documents hits count (KM Activity Reporting)
    Thank You,
    Regards,
    Devasarathy Pandi.

  • Help with Script to get user details

    Hi All
    I am trying to get a list of groups that the currently logged on user belongs to. I came accross an interface in the RG "UserAccountIBeanIfc" which has a method "getGroupsAsCollection".
    The problem is that i do not know how to call this method.
    Help would be appreciated and points awarded!
    Regards
    Thashin

    Hi Thashin  -
    I understand what you are trying to do now. You can definitely accomplish what you are trying to do using the IAPIs. Logically, here is what you need to do:
    - Get the User Account Bean for the current logged in user
    - Get the list of user groups from the User Account Bean
    - Iterate over the list to see if the logged in user is a member of the user groups required to perform the operation
    - If the user is a member, let the operation be executed
    - If the user is not a member, throw an exception using ApplicationException
    To get the User Account Bean for the current logged in user, you would use code such as:
    accHome = IBeanHomeLocator.lookup(session, session.getAccount().getAccountObjectReference());
    accBean = accHome.find(session.getAccount().getAccountObjectReference());
    The accBean would have the method on it that you want to use to get the list of user groups:
    groupColl = accBean.getGroupsAsCollection();
    You should then be able to iterate over the groupColl to establish whether the user is a member of any of the required groups.
    I hope this helps. Good luck.
    Rob
    PS: Please don't forget to award points if this was helpful.

Maybe you are looking for