Read LDAP Attributes

Hi Friends,
   Is it possible to read an LDAP attribute of a logged user from WD application running in portal? How and where to see all the available attributes in LDAP?
Thanks in advance
Nathan.

Hi Nathan,
  Right now i am also working on using attribute value of LDAP users in webdynpro application. You need to work on UME API.which is availabel on SDN.
you will get the values in webdynpro application through these API.
Thanks,
sahu

Similar Messages

  • Address Book now showing all LDAP attributes

    The Address Book does not provide access to all LDAP attributes. For example
    homePhone
    homePostalAddress
    labeledURI
    are some of the fields currently left out. It would be nice if it was possible to configure the schema mapping, similar to thunderbird which allows the mapping off all the field it know about to corresponding LDAP attributes. Also inetOrgPerson, even though it is the defacto standard is rather due for redesign.
    I am just wondering if anybody else if having this problem and if they found a solution?

    the script did not work for me
    python fixBirthdays
    Traceback (most recent call last):
    File "fixBirthdays", line 6, in <module>
    import AddressBook
    ImportError: No module named AddressBook
    further, the particular one vcard that is misbehaving - i exported it, and opened in Tedit.
    this is what isee for the date field.
    item1.X-ABDATE;type=pref:2003-06-17
    year is not negative either.
    i unchecked and checked birthday calendar in iCal. exited iCal after uncheck, relaunched iCal and checked that option.
    no show of the birthdate.
    stumped.

  • LDAP attribute for user's last login time?

    Hi all,
    Is there an LDAP attribute that I could return (via an "ldapsearch" query) that would contain the user's last login time?
    We have:
    Directory Server Version: 5.2_Patch_2 ; Build number: 2004.107.0034
    other...
    Identity Server 2004Q2
    sparc-sun-solaris2.9
    Thanks in advance!

    Hello,
    If you need this info, you will have to create a password policy that log last logon time.
    But be carefull with this function, it can create a lot of cpu load.
    <http://docs.sun.com/app/docs/doc/820-4809/fhkrj?l=en&n=1&a=view>
    Regards
    Eric.

  • Getting operational ldap attributes using amSDK

    Is there any way to get operational ldap attributes of a user? I am trying to get "passwordexpirationtime" attribute.
    amUser.getStringAttribute("passwordexpirationtime");
    does not return anything.. no exceptions.
    tried getAttributesFromDataStore, that too does not return anything..
    Set attr = new HashSet();
    attr.add("passwordexpirationtime");
    Map exptime = amUser.getAttributesFromDataStore(attr);
    is this supported?
    Using JES2005Q4 with AM patch - 120954-04
    Regards,
    Pradeep.

    Hi Bill,
    First I like to state that I'm not an expert on CUEAC. Have you looked at this post,
    https://supportforums.cisco.com/message/4071453#4071453
    I don't knoiw if it's realted or not, but the guy answering seems to be well versed in CUEAC.
    Please remember to rate helpful responses and identify helpful or correct answers.

  • Access LDAP attribute from Webmail

    Hi there,
    We need to do some customizations on webmail.
    One of the things we want to do is to be able to read and write an ldap attribute outside the multivalue attribute NSWMEXTENDEDUSERPREFS.
    I've seen on "Webmail Express Customization Guide" that we can load on http startup other external attributes using a command like:
    configutil -l -o service.http.extrauserldapattrs -v myattribute:w
    on which the :w at the end means that webmail could have write access to the attribute. (Pag 71 of W.E.C. Guide)
    I've done that, but the problem is that if I try to write a new value on the attribute, the value is created on the NSWMEXTENDEDUSERPREFS as myattribute=value
    So .. It reads from one side but write to another! Any ideas how to write on the myattribute directly from webmail interface?!
    Thanks,
    Sergio Sousa

    Hi,
    have you allready tryed to read the attribute directly from the BOL in the implementation class of the view, without creating any new context node? Maybe this coding might help you:
    DATA: lr_entity        TYPE REF TO cl_crm_bol_entity,
    DATA: lv_collection TYPE REF TO if_bol_bo_col.
    DATA: lv_cat type string.
    lr_entity ?= me->typed_context->BTAdminH->collection_wrapper->get_current( ).
      TRY.
      lv_collection = lr_entity->get_related_entities( iv_relation_name = 'BTHeaderActivityExt' ).
       CATCH cx_sy_ref_is_initial.
    ENDTRY.
          lr_entity ?= lv_collection->get_current( ).
      CALL METHOD lr_entity->if_bol_bo_property_access~get_property_as_string
        EXPORTING
          iv_attr_name = 'CATEGORY'
        RECEIVING
          rv_result    = lv_cat.
    Best regards,
    Oliver

  • Provision user to a resource when a LDAP attribute is set to true by active

    HI,
    I have the following requirement
    When a particular attribute in LDAP is set to true then we have to pick it by the active sync process and provision the user in another resource.
    Can any one let me know how to go about this.

    I'd do it like this:
    Create a business role "SomeRole" that includes an IT-Role that includes the target resource.
    In the activeSync form, assign this role depending on the LDAP attribute:
    <Field name='waveset.roles'>
      <Expansion>
        <cond>
          <eq>
            <ref>accounts[LDAP].thisParticularAttribute</ref>
            <s>true</s>
          </eq>
         <s>SomeRole</s> <!-- you will need to append the role to the list if the user already has roles, otherwise all roles will be overwritten by this single value -->
         <ref>waveset.roles</ref>
        </cond>
      </Expansion>
    </Field>

  • How to retrieve only LDAP attributes

    Any way to retrieve only the available LDAP attributes?
    I want to display all the available LDAP attributes on the UI (like sn, cn, etc.) and let user select which ones he want to retrieve.
    Thanks.

    This would be a function of building an ldapsearch in your code and stating the attributes you want returned as input from the user. Its better to know up front what attributes are available from the ldap based on access rights, and make that static, instead of retrieving them everytime someone opens a web page. If you run an ldapsearch and state the attributes you want returned you will only get those back.

  • Reading multivalued attribute

    Hi,
    I have a multivalued attribute defined in LDAP and was synchronized to plumtree. After synchroinzation, the attribute with multiple values came in to plumtree and I am able to see the values of the attribute by clicking on user profile. But when I try to read the attribute using the following query only the last value is coming up.
    Here is the query I am using.
    IPortletContext portletContext = PortletContextFactory.createPortletContext(request, response);IPortletRequest portletRequest = portletContext.getRequest(); out.write("locationString = " + portletRequest.getSettingValue(SettingType.UserInfo,"ttcmytlocation"));
    In the profile of the user ttcmytlocation attribute has multiple values, but reading returns only the last value. Is there any other way to query the values? Please help!!
    Thanks.

    Use LDAP is ticked but no server specified
    Tried Selecting the server but no effect
    Every where I look in POA, Domain setting its set to the SERVER's IP address
    not DNS name!!
    Copied NAMED.NLM (just the NLM) from SP5 server - error gone but still get
    the LDAP error 81 when a
    user tries to login to GW.
    I also POA > Security - I tried setting security to LOW (which unticks LDAP)
    but still can't login
    "Anders Gustafsson" <[email protected]> wrote in message
    news:[email protected]..
    > Eric,
    >> "Starting eDirectory integrated Novell DNS Server...
    >> error:NWDSRead Failed while reading a multivalued attribute: -603
    >> Loading the configuration and zone data completed .
    >> DNS Server running "
    >>
    > OK. I assume that you have configured your POA to use the same server for
    > LDAP. If so, did you use the DNS name or IP address? If DNS name, I
    > suggest you try IP address as this takes DNS out of the picture.
    >
    > The error you are seeing indicates that you are not current on servicer
    > packs:
    > http://www.novell.com/support/search...200%2043955231
    >
    > I suggest you apply SP6 plus the post SP6 fixes after resolving your POA
    > issue and reading this:
    > http://wiki.novell.com/index.php/Nw65sp6
    >
    > - Anders Gustafsson, Engineer, CNE6, ASE
    > NSC Volunteer Sysop
    > Pedago, The Aaland Islands (N60 E20)
    >
    > Novell does not monitor these forums officially.
    > Enhancement requests for all Novell products may be made at
    > http://support.novell.com/enhancement
    >
    > Using VA 5.51 build 315 on Windows 2000 build 2600
    >

  • Customizing default LDAP attributes. Is it possible?

    Hello,
    Does anybody knows if there is a way to give default LDAP attributes (such mail, mailAlternateAddress, and so on...) write permissions?
    There is some notes explaining how to customize 'extra' LDAP attributes, but nothing about default ones.
    TIA,
    Carlos.

    What are you trying to achieve? The attributes you're talking about are there to be written by the admin user(s) for provisioning users. If you're having problems writing them, what user do you use?

  • GroupWise ldap attributes names

    Hi,
    I'm using Novell Identity Manager to synchronize users accounts to GroupWise. What are ldap attributes used to store information about email address, distribution lists and license type (full and limited)?
    Thanks

    moularbi,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Visit http://support.novell.com and search the knowledgebase and/or check all
    the other self support options and support programs available.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://forums.novell.com)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://forums.novell.com/faq.php
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://forums.novell.com/

  • LDAP Attribute for POP3 access

    Dear folks,
    In SUN JES subscriber LDAP information, is there any LDAP subscriber LDAP attribute that indicates the subscriber having access to POP3?
    If there is, what kind/type of value can it be ?
    Thanks,
    T Dang

    Hi,
    For future reference, please always provide the version of messaging server you are using. (./imsimta version)
    With regards to your question, POP access is provided unless it is denied (assuming that POP daemon is enabled). Is there a user who is being denied and you are trying to work out why?
    The LDAP attribute which restricts access to POP/IMAP/HTTP access of the store is mailallowedserviceaccess
    Regards,
    Shane.

  • Which LDAP attribute is utilized by CertStore to retrive certifications?

    Hi
    thank you for reading my post
    I find that CertStore and LDAPCertStoreParameters and X509CertSelector and X509CRLSelector can be used to extract certifications from LDAP.
    What i can not figure out is,
    which LDAP attribute uses by these class to extract certifications?
    for example we have person class in LDAP which one of its attribute can be userCertificate, how does these class figure out what is name of these attribute?
    maybe they uses some other mechanism, and my assumption are not correct?
    Thanks

    Hi
    Thank you for your reply.
    Imagine that i have the following requirement, what could be possible steps to implement it?
    I need to check and see whether a digital certification belongs to a user or not.
    user will gives it uid and digital certification.
    here is one way that i have in my mind:
    -Search the LDAP for that user.
    -Extract the userCertificate attribute as binary
    -Create a X509 certificate from it
    -Compare it with what user provides.
    Is it a good way?
    Does all of the above steps are do-able?
    Do you have suggestion to improve the procedure or make it more standard ?
    Thanks

  • How to read an attribute of an xml tag in jsp.

    hi guys,
    This is murali krishna. i have a small problem,
    i have one xml file (books.xml)
    <?xml version="1.0" encoding="iso-8859-1"?>
    <library>
    <book id="1">
    <name>Head First Java, 2nd Edition</name>
    <author>Kathy Sierra and Bert Bates</author>
    <publication-date>09-Feb-2005</publication-date>
    </book>
    <book id="2">
    <name>Effective Java</name>
    <author>Joshua Bloch</author>
    <publication-date>28-May-2008</publication-date>
    </book>
    <book id="3">
    <name>Java How to Program, 7th Edition</name>
    <author>Harvey M. Deitel and Paul J. Deitel</author>
    <publication-date>6-Jan-2007</publication-date>
    </book>
    </library>
    I tried to read this xml file in jsp as shown below
    <%@ page language="java" %>
    <%@ page import="org.w3c.dom.*" %>
    <%@ page import="javax.xml.parsers.DocumentBuilder" %>
    <%@ page import="javax.xml.parsers.DocumentBuilderFactory" %>
    <%
    DocumentBuilderFactory dbf=DocumentBuilderFactory.newInstance();
    DocumentBuilder db =dbf.newDocumentBuilder();
    Document doc=db.parse("c:\\books.xml");
    NodeList nl = doc.getElementsByTagName("book");
    %>
    <html>
    <head>
    <title>How to read XML file in JAVA</title>
    </head>
    <body>
    <%
    for(int i=0;i<nl.getLength();i++)
    NodeList nameNlc= doc.getElementsByTagName("name");
    Element nameElements=(Element)nameNlc.item(i);
    String nameTagValue=nameElements.getChildNodes().item(0).getNodeValue();
    NodeList authorNlc= doc.getElementsByTagName("author");
    Element authorElements=(Element)authorNlc.item(i);
    String authorTagValue=authorElements.getChildNodes().item(0).getNodeValue();
    NodeList dateNlc= doc.getElementsByTagName("publication-date");
    Element dateElements=(Element)dateNlc.item(i);
    String dateTagValue=dateElements.getChildNodes().item(0).getNodeValue();
    out.println("name :"+nameTagValue+"<br>");
    out.println("author :"+authorTagValue+"<br>");
    out.println("publication-date :"+dateTagValue+"<br><br>");
    %>
    </body>
    </html>
    so, my problem is I was unable to read the attribute of the tag book , that is "id".
    can any one tell me how to read this "id" attribute.
    Murali Krishna
    [email protected]

    hi,
    U r retriving the elements by tag name.So it just chks the tag name ie.<book> & gives u array of elements.But u need retrive d attribute of <book> tag itself.
    =Solution =====
    Add one more statement ----> var[]= doc.getElementsByName("book");
    Now u hav book elements as an array & can retrive id in for loop
    for(var; var.length;var++)
    doc.element[var].id.value

  • How to read the attribute of the xml file using jaxb

    Thanks,
    Buddy as i have a issue i have to read the xml file using jaxb and xml file contains this data and i have read the attribute like name , desc and action for a particular menu name pls tell the code how to do this it will be a great favour to me
    thanx in advance
    Rasool
    <contextmenu>
    <menu name='Lead' >
    <menuitem name='newlead' desc='New Lead' action='/leads.do?dispatch=insert' />
    <menuitem name='editlead' desc='Edit Lead' action='' />
    <menuitem name='leadinfo' desc='Lead Information' action='' />
    </menu>
    <menu name='Cases' >
    <menuitem name='' desc='' action='' />
    <menuitem name='' desc='' action='' />
    <menuitem name='' desc='' action='' />
    </menu>
    <menu name='Contact' >
    <menuitem name='' desc='' action='' />
    <menuitem name='' desc='' action='' />
    <menuitem name='' desc='' action='' />
    </menu>
    </contextmenu>

    What my program do is to get the encoding of XML files and convert them to UTF-8 encoding files, while I need this "encoding" information of the original XML document thus I can convert...
    After reading specifications and JDOM docs, the truth turns to be disappointed, no function is provided to get this information in JDOM level 2(the current released one), while it's promissed that this function will be provided in JDOM level API....
    Thanx all for your help and attention!!!

  • How to read the attribute in mapping..

    Hi,
    My source XML looks like this
    <GLDEBITACCT>
                <VALUE>0545-K-2006605-5500001</VALUE>
                <GLCOMP glorder="0">0545</GLCOMP>
                <GLCOMP glorder="1">K</GLCOMP>
                <GLCOMP glorder="2">2006605</GLCOMP>
                <GLCOMP glorder="3">5500001</GLCOMP>
      </GLDEBITACCT>
    Where glorder is the attribute of GLCOMP. Now I have requirement to read the attribute ( atleast 2 of them)
    I have to map to target field checking the value in glorder="1
    For e.g. with above XML, if the value in glorder="1 is K than map value from glorder="2 (2006605) to Target 1.
    IF the glorder="1 is P map the value in glorder="2 to Target 2 and goes on for another one
    How can i acheive this mapping. When I tried putting the value of glorder, i am not getting anything.
    Regards,

    Hi,
    You can use below UDF. Please make sure to select context parameter while creating UDF. There will be 3 input arguments for this function:
    1. GLCOMP (a)
    2 @glorder   (b)
    3 Constant   (c)  --depending upon the target node
    Also conext of attribute @glorder should be same as that of GLCOMP.
    //write your code here
    for(int i=0;i<a.length;i++)
        if(b<i>.equals("1")&&c[0].equals(a<i>))
        for(int j=0;j<a.length;j++)
              if(b[j].equals("2"))
         result.addValue(a[j].toString());
                            break;
    For target node target1 use K as 3rd argument, for target node target2 use P and so on.
    Let me know how it works.
    Regards,
    Anirudh.

Maybe you are looking for

  • SAP EP 6.0 SR1 installation

    Hi! I have problem with SAP EP 6.0 SR1 (SP9) installation on WinXP SP2. HW: Intel P4 2.6GHz, 2Gb RAM. Oracle 9.2.0.5 installed locally. Installation stopped on stage "Load Java Database Content" with string "Java HotSpot(TM) Client VM (build 1.4.2_08

  • Can you install same app on more than one device?

    really simple question and i'm sure the answer must be obvious but i can't find it anywhere! if i buy an app from the app store, does that give me the right to install on an ipod touch AND an iphone, or only one? cheers!

  • What's wrong with this Programmatically created MP?

    The following is a portion of a MP I am creating.  It imports, but when I view or edit the resultant Distributed Application, there is no component group (and consequently the 4 servers are not shown). The MP has been created with the 2012 SP1 SDK. <

  • Appending to a word document hyperlink text

    Hey, Is it possible to change the hyperlink text not the address? I would like to append to it not completely replace it. This is my example. I would like the hyperlink to display "Fig 1" instead of just the number "1". Is this possible somehow? than

  • CUCM Dialled Number Analyser for Digit by Digit Analysis?

    Hi, I'm wondering if anyone can help. I work in a diagnostic team that often has to solve issues with problems on dial plans and customers not being able to call particular numbers. We often use Dialled Number Analyser to help us with this, but this