UME - remove Attributes?

Hallo Everybody,
I use the UME to add some own Attributes to a User. I can set and get attributes through IUserMaint, but is there a way to delete these Attributes? I haven´t found any methods for that.
Thanks,
Marcus

Hi Marcus,
in the method
public boolean setAttribute(java.lang.String namespace,java.lang.String name,java.lang.String[] values)
simply pass null as values. That will delete the corresponding attribute.
Hope that helps
PD

Similar Messages

  • ISE External RADIUS proxy remove attributes

    Hi all,
    I setup external RADIUS for authenticating external users on ISE 1.2  - I need to remove all attributes received from the external RADIUS but I cannot find how to do it.
    I checked the option
    On Access-Accept, continue to Authorization Policy
    in RADIUS server sequense Advanced Attribute settings 
    and in Authorization policy I setup proper attributes but I found the attributes from external RADIUS server are in the Access-Acceept response too.
    This is RADIUS debug from the switch:
    Apr 10 09:35:51 CEST: RADIUS: User-Name [1] 17 "xxxxxxxxxxxxx"
    Apr 10 09:35:51 CEST: RADIUS: Session-Timeout [27] 6 3600
    Apr 10 09:35:51 CEST: RADIUS: Termination-Action [29] 6 1
    Apr 10 09:35:51 CEST: RADIUS: Tunnel-Type [64] 6 00:VLAN [13]
    Apr 10 09:35:51 CEST: RADIUS: Tunnel-Type [64] 6 01:VLAN [13]
    Apr 10 09:35:51 CEST: RADIUS: Tunnel-Medium-Type [65] 6 00:ALL_802 [6]
    Apr 10 09:35:51 CEST: RADIUS: Tunnel-Medium-Type [65] 6 01:ALL_802 [6]
    Apr 10 09:35:51 CEST: RADIUS: EAP-Message [79] 6
    Apr 10 09:35:51 CEST: RADIUS: 03 08 00 04
    Apr 10 09:35:51 CEST: RADIUS: Message-Authenticato[80] 18
    Apr 10 09:35:51 CEST: RADIUS: BA 8C BC 8D 69 23 2B 7D 8A 70 20 D4 DE 96 0B E2 [ i#+}p ]
    Apr 10 09:35:51 CEST: RADIUS: Tunnel-Private-Group[81] 4 "17"
    Apr 10 09:35:51 CEST: RADIUS: Tunnel-Private-Group[81] 7 01:"v230"
    Apr 10 09:35:51 CEST: RADIUS: Vendor, Cisco [26] 22
    Apr 10 09:35:51 CEST: RADIUS: Cisco AVpair [1] 16 ""ssid=eduroam""
    Apr 10 09:35:51 CEST: RADIUS: Vendor, Cisco [26] 37
    Apr 10 09:35:51 CEST: RADIUS: Cisco AVpair [1] 31 "termination-action-modifier=1"
    Apr 10 09:35:51 CEST: RADIUS: Vendor, Microsoft [26] 58
    Apr 10 09:35:51 CEST: RADIUS: MS-MPPE-Send-Key [16] 52 *
    Apr 10 09:35:51 CEST: RADIUS: Vendor, Microsoft [26] 58
    Apr 10 09:35:51 CEST: RADIUS: MS-MPPE-Recv-Key [17] 52 *
    As you can see a lot of attributes are twice in the response. I need only "v230" set as VLAN ID
    I looked for removing the attributes but "Modify attribute" settings (iether "in the request" or "before access-apccept") offer only subset of RADIUS attributes - I need to remove attribute 81 - Tunnel Network Private Group - but it is not offered there.
    Can somebody advice me, how to (idealy) remove all atrributes from external RADIUS or at least remove set of attributes at minimum with attribute 81?
    Thank you for any help

    Thank you,
    I duplicated the Dot1x Authentication Rule, and changed allowed protocols to "RADIUS Server Sequence : MySequence"
    In the RADIUS Server Sequence under the advanced tab I have it set to "Continue to Authorization Policy'.
    Which Authorization rule would match?
    Network Access:RADIUS Server Sequence EQUAL MySequence
    OR
    Network Access:UseCase EQUALS Proxy
    OR
    None of the above?
    Thanks

  • Removing attributes from node

    Hi,
    Im creating a node and its attributes dynamically and binding it to a table to show a table dynamically. The problem is that when i load a new item, i have to rebuild the node and table because it might have different columns. The node allways has 3 fixed columns (id, name, description) so first i have to remove all of the attributes except the id, name and description. Same for the table columns. Can anyone tell me how to remove attributes from a node or how to differently solve my problem? All i see is how to remove an element but is a data right, not the model?
    Much thanks,
    Hugo Hendriks

    Hi,
    I had a similar situation, where 2 table columns were always present, and the name and type of other columns were only available runtime.
    I simply deleted all data (invalidate()) and recreated the context from scratch after each model execution that impacts the table structure.
    Otherwise, use the API to find the right methods for deleting Nodes and Elements.
    https://media.sdn.sap.com/javadocs/NW04/SPS15/wd/index.html
    Good luck,
    Roelof

  • Accessing UME Custom Attributes

    Hi All,
    I am trying to access the UME custom attribute for all the users in Webdynpro. There is only one Portal and there is no LDAP.
    I used
    IUser user = UMFactory.getUserFactory().getUser(uniqeID);
    IWDClientUser wdUser1 = WDClientUser.getClientUser(user.getUniqueName());
    IUser user1 = wdUser1.getSAPUser();
    String attr= user1.getAttribute("<namespace>","<attribute name>");
    But this is only giving me the custom attribute for WD logged in users. In WD, I want to get this attribute for other UME users as well.
    if I use,
    IUser user = UMFactory.getUserFactory().getUser(uniqeID);
    String attr= user.getAttribute("<namespace>","<attribute name>");
    I get null.
    Please reply.
    Thanks,
    Anil.

    (String[]) IWDWebContextAdapter.getRequestParameterValues( String key);
    will give you all parameters under the specified key.
    nikhiL

  • UME User Attribute

    Hi All,
    I want to use a standard UME user attribute which should allows multiple values.  Is there any standard UME attribute allows multiple values.
    I need this functionality to create a Virtual Group.  I have followed the [Help Link|http://help.sap.com/saphelp_nw70/helpdata/en/43/fcfa2942ed7067e10000000a1553f6/content.htm].  to create Virtual Group based on UME department attribute.  Department attribute is not supporting multiple values. 
    I want to achieve this is in Standard Configuration of Portal.
    Can anyone help me or list me the Standard UME attribute which supports multiple values. 
    Thanks in Advance.
    Regards
    Venkatesh. K

    Hi Venkatesh,
    I did a quick search of the online help and found this...
    The user attributes do not support multiple values by default, but if you mapped an attribute to an LDAP attribute with multiple values, you could read for a user the attribute department, which has the values Marketing and Distribution. This user would then belong to both virtual groups Marketing and Distribution.
    It is in the documentation for [configuring virtual groups|http://help.sap.com/saphelp_nwce10/Helpdata/EN/43/fcfa2942ed7067e10000000a1553f6/frameset.htm].
    So it all depends on your data source.
    -Michael

  • Why do I get an error msg that reads "operation not allowed" whenever I try to Remove Attributes from my timeline?

    On any given project, whenever I select everything in my timeline and try to remove all the attributes, I get an error message that reads "operation not allowed."
    If I select a smaller chuck of files on my timeline and hit remove attributes, it works, but this isn't the case if I select everything in my timeline.
    How do I fix this? Thanks!

    Have you tried trashing your Final Cut Pro preferences? It is usually the first step when FCP begins to act in unexpected ways.
    Download Preference Manager (free) from Digital Rebellion
    http://www.digitalrebellion.com/prefman/
    and use it to trash your preferences - they will be set to default the next time you open FCP.
    If that does not remedy the problem, do you have any still images in your timeline that are not RGB, or are greater than 4000 pixels in the widest dimension?
    Is your source material in an FCP7 edit friendly codec?
    MtD

  • Creating UME extended attributes

    Hi All,
    My requirement is, I have to add few custom attributes like region, area etc as UME extended attributes.
    In Sytem admin-> system config-> UM config-> Direct editing tab under "ume.admin.self.addattrs" I have added the custom attributes as comma seperated values. Is this right?
    If Yes, Can you please tell me how I should proceed further?
    If no, can you please detail me the steps to achieve custom attributes?
    This is a very urgent requirement.So, can anyone help me ASAP?
    Thanks in advance.
    Regards
    Deepa

    Hi James,
    If the datasource is going to be LDAP directory, then will
    the extended attributes will get saved in the LDAP directory without any mapping in datasource xml?
    Regards
    Deepa
    Message was edited by: Deepa  Jampunathan

  • Remove attributes?

    I create a video on the day of the event and will typically do some quick clean up of clips that are too dark or the white balance is far off. Then when I get home I do a proper color correction job. I see Apple has include paste attributes (calling it copy effects), but I don't see anything for remove attributes. Am I missing it or is it completely gone?

    I opened an SR with Oracle and they provided a solution adding code to inc_bootstrap.js.ftl.

  • How to access custom ume user attributes via VC?

    Hi guys,
    I configured a custom user attribute within the ume configuration:
    <a href="http://help.sap.com/saphelp_nw2004s/helpdata/de/44/0316d50bbe025ce10000000a1553f7/frameset.htm">Adding Custom Attributes to the User Profile</a>
    Now, how can I access this attribute within my VC model (user data)?
    Thanks for your ideas
    Benny

    Hi,
    Regarding adding properties to user data control, i have the following information. But i am not sure, whether it will be helpful to you.
    You can add a personalise property/User mapping property into a user data control.
    Drag a User data component, go to configure and click the + sign at the bottom of User parameters.
    You can add any personalised properties to the user data (with valid data types and allowed values). Then can use the property in any formula.
    When iView is opened in portal, the personalise property of that particular iView is used to change the property value
    Hope it helps.
    Regards,
    Sooraj

  • Right click clip in sequence to remove attributes does not work?

    Trying to get my old head around the three way color corrector. In the process when I try to right click a clip in the sequence to remove the attributes it does not work. When I do it again the filter square is still ticked. What am I doing wrong? Thanks for your help. The transition from Avid to FCP is not an easy one for me.

    so someone else might be helped, you should link to the good captain's post or explain what you were doing wrong.

  • Removing attributes from infoobject 0Equipment

    I am trying to delete some attributes of 0Equipment.  When I try to activate the deletion I get the error message:
    Master data has to be activated before conversion
    Could anyone advise.  Thanks

    Hi Niten,
    If you are just removing the attributes and not deleting the attributes(info-objects) then you are fine. You need not bother about any other master data. Check for cubes/ODS/Multiproviders where the attributes might be used. Use the where used-list for the info-objects.
    Bye
    Dinesh

  • Remove attribute in xml

    Hi
         How to delete/remove the attributes from the xml.

    use "delete".
    for example:
    with:
    var xml:XML=<e>
          <employee id='41'>
              <name>
                  John Doe
              </name>
              <address>
                  601 Townsend St.
              </address>
          </employee>
          <employee id='42'>
              <name>
                  Jane Q. Public
              </name>
          </employee>
          <department id="IT">
              Information Technology
          </department>
          </e>
    delete xml.firstChild.firstChild.attributes["id"]

  • Cannot remove attributes in HTMLDocument

    With a JTextPane, HTMLDocument and two JButtons I can select a piece of text and format it (bold for example). Then I want to select it again and clear the format (non bold for example).
    I do this with the code below.
    The editor shows the text correctly. But when exporting the document to HTML (with HTMLEditorKit.write...), the text which I cleared of formattings is gone!
    I only want to clear the formatting, not the text.
    Any idea?
    int start = editor.getSelectionStart();
    int end = editor.getSelectionEnd();
    Element element = htmlDocument.getCharacterElement(start);
    AttributeSet attributeSet = element.getAttributes();
    StyleSheet styleSheet = htmlDocument.getStyleSheet();
    styleSheet.removeAttributes(attributeSet, element.getAttributes());
    htmlDocument.setCharacterAttributes(start, end - start, attributeSet, true);

    Hi,
    in your code example you take the attributes of the element at the start of the current selection. Then you remove all elements to make the attribute set empty. The same can be achieved by a single line of code: AttributeSet set = new SimpleAttributeset(); creating an empty AttributeSet.
    Then you apply the empty attribute set to the document with method setCharacterAttributes. Although you pass true in the 'replace' parameter of method setCharacterAttributes, this will not work because 'replace' only replaces explicit settings. I.e. when in the document there is a bold setting, the attribute set must have an attibute such as CSS.Attribute.FONT_WEIGHT set to 'normal' to overwrite the existing bold attribute. In your example, exisiting attributes are kept.
    If you like to 'clear' any attributes from a range of text by passing an empty attribute set, you'd have to iterate through the affected elements within the selected text range and apply the empty attribute set explicitly to every element.
    This can be done by subclassing HTMLDocument and adding a method as follows  /**
       * apply a set of attributes to a given document element
       * @param e  the element to apply attributes to
       * @param a  the set of attributes to apply
      public void addAttributes(Element e, AttributeSet a) {
        if ((e != null) && (a != null)) {
          try {
            writeLock();
            int start = e.getStartOffset();
            DefaultDocumentEvent changes = new DefaultDocumentEvent(start,
                e.getEndOffset() - start, DocumentEvent.EventType.CHANGE);
            AttributeSet sCopy = a.copyAttributes();
            MutableAttributeSet attr = (MutableAttributeSet) e.getAttributes();
            changes.addEdit(new AttributeUndoableEdit(e, sCopy, false));
            attr.addAttributes(a);
            changes.end();
            fireChangedUpdate(changes);
            fireUndoableEditUpdate(new UndoableEditEvent(this, changes));
          finally {
            writeUnlock();
      } When you iterate through every element in a given selection and call above method with an empty attribute set for each of the elements, all styles will be cleared and the range is reset to default settings. Ulrich

  • Join Engine: Removing Attributes from Deleted CV Entry

    Platform: Solaris
    Directory: 5.1SP1
    Meta: 5.0SP1
    Issue/Question:
    I have a connector view setup to flow attributes (telephoneNumber, etc.) to entries in the meta view. The connector view joins entries using the uid. If an entry is deleted from the connector view the link to the connector view is removed however the attributes (telephoneNumber, etc.) are not. Is there a way to achieve this?
    Current Config
    Join Rules:
    Rule 1 - uid=%uid%
    Attribute Flow:
    Rule 1 - telephonenumber->telephonenumber, pager->pager, mobile->mobile
    DN Mapping Rules:
    None
    Filters:
    None
    Capabilities:
    -Attributes Flow to Meta View

    Let me explain in a bit more detail. I am using the Universal Text Connector to import phone numbers into my Meta-Directory. The telephone database contains the employees id and telephone number. When the data is bulk loaded it will add the entries to the Connector View. The Join Engine will then link the Connector View entry to the Meta View entry that has already been created by another Connector View. The attributes are added and all is well, so far. When the entry in the external data source is removed, the entry in the Connector View is removed. The Join Engine will notice that the Connector View entry has been removed and will remove all associations to that Connector View, but the attributes that were added as a result of that entry are not removed (The telephone number is still in the Meta View entry).

  • Jdev aborts when removing attribute from entity object

    Hi,
    after synchronizing my data model with my database scheme, jdeveloper 10g gave me the correct message, that there had been 1 attribute left in an entity object, that does no longer exist in the database.
    When removing the attribute from the entity object, jdev 10g aborts (first click: nothing happens, second click: abort).
    regards
    Klaus

    Thanks for bug report. This bug has been logged (3151203) and has been fixed in more recent builds.
    Ray

Maybe you are looking for

  • System has slowed so much i can't use it!  what to do?

    my iBook G4 (800mhz, 512[640]RAM) has been moving so slowly the last few days to the point that i can't use it anymore. simple tasks like opening the finder or iTunes sends the rainbow pinwheel spinning, even if the applications are opening by themse

  • Can't run the cluster example

              I would appreciate if someone can explanation my long list of questions regarding           the deployment of EJB in cluster environment.           I can't run the cluster EJB example( Teller/Account) in a cluster(contains two           ser

  • Can I change a cross reference display without having to recreate it?

    WHen cross references are to figures on the same page, I let the cross reference point to the paragraph number only ("see View 25"). When it is on another page, I use paragraph number and page ("See View 25 on page 34"). But when my text changes, som

  • Gr exchange rate

    Dear All, PO in USD which is a foreign currency. May I know what rate that during GR is using to calculate the amount in local currency? The day that do GR or the rate which updated in PO header delivery/invoice tab. Exchange rate fixed is NOT ticked

  • Delete first empty row in a table

    Hi, Can you please provide the script for the below requirement. Need to delete First empty row in all the tables. (Tables having more number of empty rows. i need to delete first empty row only) Regards, Velu