Updating attributes in LDAP during a disable

I am having trouble with a disable workflow for an LDAP resource. I need to modify an attribute in LDAP when performing the disable.
So, I have a modified disable user form that adds a "reason" from a textbox and also sets the date of the disble.
The account is being disabled in LDAP, but the attributes "reason" and "date" are not being pushed.
I am looking for the specific order in which I should call workflow to accomplish this task.
Should I:
checkout a userview
modifiy attributes
checkin userview
checkout disable view
checkin disable view
reprovision???
notification
Thanks for your help in advance.
C.

The reason they aren't being pushed is because they are not attributes associated with the Disable View.
You can extend the view to include these attributes and then the disable form can include reference these as fields as
resourceAccounts.currentResourceAccounts[ResourceTypeName].attribute.
The view can be extended globally for all all resources of a specified type (e.g. LDAP 1, LDAP2) or for a specific resource.
The Deployment Guide has a chapter on Views and how to extend them. Refer there first, and if you have any followup questions post them here.

Similar Messages

  • Modifying/Updating Attributes with LDAP

    I am trying to understand the modification process better.
    The jndi examples use an environmental variable named ENTRYDN
    that provides the cn, ou, etc.
    The following code does the update:
    public static String ENTRYDN = "cn=Barbara Jensen, ou=Product Development, o=Ace Industry, c=US";
    ctx.modifyAttributes(Env.ENTRYDN), mods);
    How specific do I have to be with the ENTRYDN info?
    If for example I have to update a users email, password, etc, do I provide cn, ou, o, c? or just the specifics like cn = user?

    JNDI is, as usual, a heirarchy and you can get a directory context at any level.
    These DN paths are like file paths, with commas instead of slashes and arranged in the opposite order, i.e. local first, global last.
    So you can do, for example,
    DirContext productDev = (DirContext)ctx.lookup("ou=Product Development," +
       "o=Ace Industry, c=US");
    productDev.modifyAttributes("cn=Barbara Jensen", mods);

  • Multi level attribute form LDAP

    multi level attribute form LDAP
    I am trying to write an custom mapping to use to retrieve a value from a multialued field in LDAP (nsRole). Has anyone done this before?
    Rigth now all my mappings are 1:1. However the goal is to get a 1 : M and parse thru it till i get the desied value (1:1)

    Darwin Hammons - Assurant 
    2:44pm, May 17 
    Great conversation. I have a very similar question about the use of the custom JAVA mappings with the LDAP Login process. I want to include an additional (event) step in the login process. Does anyone have an example or experience with a custom Java Class mapping that can use an LDAP attribute (location)  queriing the data to execute an event that populates an RequestCenter OU or Group if the person login location equal say " Argentina" ? Looking for a way to manage / build catalog entitlements during login. Suggestions ?
    Great conversation. I have a very similar question about the use of the custom JAVA mappings with the LDAP Login process. I want to include an additional (event) step in the login process. Does anyone have an example or experience with a custom Java Class mapping that can use an LDAP attribute (location)  queriing the data to execute an event that populates an RequestCenter OU or Group if the person login location equal say " Argentina" ? Looking for a way to manage / build catalog entitlements during login. Suggestions ?
    Anthony Erickson
    2:52pm, May 18  
    Hi Darwin,
    We're about to embark on a piece of work with newScale which would be similar to this to support our Multilingual catalogue.  I'll provide any updates I'm able. 
    Thanks,
    Ant 
    Darwin Hammons - Assurant 
    3:25pm, May 18 
    Great, Thanks Anthony ! I hope our bringing up this topic will spark a bit of interest. The Custom Java Mapping  / Directory integration is documented more with RC 9.1. It will be good to hear more about your project and use of Java mappings with LDAP Directories. 

  • How can we update data in LDAP server using PL/SQL.

    Hi,
    How can we update data in LDAP server using PL/SQL program.
    Is there any sample code for refrence.
    Thanks,
    Tarun

    Hi Justin,
    Thanks for your help. You got my correct requirements.
    Tim's example returning all the attributes of current user which is admin user. Please correct me if I am wrong.
    I have the following information:
    the admin user and password,server info , port and ldap_base for admin.
    I have uid and password for regular user, I am trying find the ldap_base for regular user, which may be different from adminuser.
    Please help me.
    Thanks,
    Edited by: james. on Jan 12, 2009 5:39 PM

  • EPMA Automation - Update Attribute

    I am presently using EPMA 11.1.1.3 and wanted to elicit views on the below :
    Is there an automated way through which the dimension attributes can be updated during the run time. Or can the task of updating Attributes be performed only
    by EPMA Administrator ?
    Thanks in advance !
    navpreet

    I would say it is the task of an administrator to maintain the metadata.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Launch workflow in user form after updating attributes

    Hello,
    When I launch a workflow in my activeSync user form, attributes are not updated if there are changes for the account.
    I launch the worfklow as described below:
                    <Field name='viewOptions.Process'>
                        <Comments> Workflow</Comments>
                        <Expansion>
                            <s>DeleteAccounts</s>
                        </Expansion>
                    </Field>Is it possible in a first time to update attributes and then to launch the workflow ?
    Thanks,
    Nicolas

    Are the attributes changing because of changes through role assignments? I think those changes happen during check-in. (Maybe in a reprovision, too: I haven't tried.)
    My instructor said he has seen times after activeSync is run that, if you edit the user, additional attribute changes finally go through. He didn't elaborate on when it happens. I've seen it, but for reasons that aren't relevant in this discussions, I haven't had to deal with it yet.
    Anyway, he recommended setting viewOptions.Process to something that does an extra check-out/in (or in/out?) to handle that situation. You might want to add a check-in/out to your workflow before you do your other processing...

  • Update error in  RV_SALES_DOCUMENT_ADD during Sales order creation

    I get an Update/ ABAP runtime error during Sales order creation. The error occurs during processing of the update module -RV_SALES_DOCUMENT_ADD.
    This error does not occuring always, as I am sometimes able to create a Sales order without getting update error. I am getting the error of all types of Sales orders and even contracts.
    Am I missing any configuration parameters?
    Thanks,
    Chitra

    Yes , I can see the error in ST22.
    While exceuting VA01 (Oder type OR, Entering Sold-to-party, Purchase order NO, Material, Qty, Plant),
    - I get run-time error "Run-time error "GETWA_NOT_ASSIGNED" occurred".
        Analysis of error shows:
         Update terminated in "Update module: RV_SALES_DOCUMENT_ADD"
          Fails in the Read table in one of the form
            Termination occurred in the ABAP program "SAPLV45U" - in "VBAP_BEARBEITEN"
    The main program was "RSM13000 ". In the source code you have the termination point in
    line 147 (READ TABLE FYVBAP WITH KEY VBAP_KEY.)
    of the (Include) program "LV45UF0V".
    The ABAP's say the functional module is trying to do an 'UPDATE' instead of 'INSERT" in the internal table FYVBAP.
    Thanks,
    Csuman

  • How to update cgicmd.dat file during runtime?

    I'd like to know how do update cgicmd.dat file during runtime. For example, I run a report one.jsp as
    http://<machine>:<port>/reports/rwservlet?one.jsp&USERID=uid/pwd@db&DESTYPE=cache&mode=bitmap&desformat=htmlcss
    within this report there is a hyperlink to open another report named two.jsp.
    before creating this hyperlink, I'd like to update cgicmd.dat file with passed in userID, pwd, and connection, so two.jsp can use this key for userinfo
    so I can create hyperlink as follows
    srw.set_hyperlink('/reports/rwservlet?report=two.jsp'||
    '&cmdkey=userinfo&DESTYPE=cache&mode=bitmap&desformat=htmlcss');
    Thanks

    To my knowledge the cgicmd.dat is only read when the OC4J starts, so you would have to come up with another solution. Using Single-Sign-On (SSO) is quite a good idea, and it's there for cases like this.
    Regards,
    Martin Malmstrom

  • Accessing custom attributes in LDAP using WD Java - UME APIs

    Hello Friends,
    I am trying to access a custom attribute from LDAP in WebDynpro Java. I am using bellow code.
    IWDClientUser clientUser = WDClientUser.getCurrentUser();
    IUser sapUser = clientUser.getSAPUser();
    if (sapUser != null) {
    String[] str_emp = sapUser.getAttribute(<Name Space>,"Attribute Name");
    if (str_emp == null || str_emp.length == 0) {
    wdComponentAPI.getMessageManager().reportSuccess(" NULL ");
    return;
    } else {
    strEmpID = str_emp[0];
    wdComponentAPI.getMessageManager().reportSuccess(strEmpID);
    The name space is "$usermapping$". I am not sure why it is like that only for this attribute i am trying to access.
    I am getting null value if i run this code.
    Can any one help
    thanks
    Shobhan

    Hi,
    Are you sure this is the right namespace? The default namespace is com.sap.security.core.usermanagement.
    You can get all namespaces and the names of all attributes defined for a user using methods getAttributeNamespaces and getAttributeNames : [Interface IPrincipal|http://help.sap.com/javadocs/NW04S/current/se/index.html].
    Regards,
    Pierre

  • My Sites "Updating values in this field is disabled temporarily"

    Managed metadata is configured and I am able to access and add terms, etc. I am able to go to the User Profile Service in Central Admin and update the managed metadata fields such as "Ask Me About", "Past Projects", "Skills",
    etc. However, when I go to the My Site host and try to edit my profile there, I get the error:
    There was a problem retrieving data for this field. Updating values in this field is disabled temporarily. You can still update values in other fields.
    Managed Metadata Service is available:
    I am able to go to the Managed Metadata service in Central Admin, add terms, etc.
    Service Connection settings:
    Checked - This service application is the default storage location for Keywords
    Checked - This service application is the default storage location for column specific term sets
    Editing profile from My Site host:
    Ask me About: There was a problem retrieving data for this field. Updating values in this field is disabled temporarily. You can still update values in other fields.
    Edit the same profile in Central Admin works fine:
    Ask Me About: No error, able to add data.
    All the solutions for this error that I have been able to find are not working, but they are for when the managed metadata service is inaccessible, or the fields cannot be updated in Central Admin either. I've recreated both the User Profile
    service and the Managed Metadata service. Any ideas?
    Thanks

    Hi tammylj,
    Based on your description, you should use the different service accounts for your CA web application and MySite host site web application, since "Ask Me About" is working for CA but not for MySite host site, the service account for MySite may not read
    and write managed metadata term store.
    please check and make sure your MySite web application service account is added in the Managed Metadata service application with permission "Read Access to Term Store" and "Read and Restricted Write Access to Term Store", then it should work.
    http://james-brennan.co.uk/2011/10/19/failed-background-check-when-the-managed-metadata-service-says-no/
    Thanks
    Daniel Yang
    TechNet Community Support

  • HT1222 Security Update 2013-001 (Lion) may have disabled the DVI on my 17" MacBook Pro

    It looks like Security Update 2013-001 (Lion) may have disabled the DVI on my 17" MacBook Pro ... 2006 vintage ... it worked fine before the upgrade.  Tested port with HD monitor using an HDMI adapter that worked before. Thanks for the help!

    Thank you for the suggestion ... I repaired the disk ... repaired the permissions ... from the CMD+r restore partition ...
    No changes.
    I'm in the process of doing a Software Update scan ...
    Thanks for the suggestion ... hope there might be more ...
    I know these are supposedly never monitored by Apple ... but I can always hope!

  • Automatic update of vendor code during plant to plant Transfer

    Hi all,
    How to configure automatic update of vendor code during plant to plant Transfer.
    Regards
    KK

    hi,
    In transfer posting there is no buying/selling of the goods...there is only transfers may be from plant ot plant...or storage loc to st location...etc...
    When you do plant to plant stock transfer, there is no role of the vendor...but the receiving and the destination plant/storage loc plays a big role...
    Hope its clear...
    Regards
    Priyanka.P

  • What are supported device attributes on iOS during enrollment phase?

    I'm installing configuration profile using over-the-air (OTA) enrollment. What are supported device attributes on iOS during first phase payload? I'm sending sth like:
    <plist version="1.0">
        <dict>
            <key>PayloadContent</key>
            <dict>
                <key>Challenge</key>
                <string>challenge</string>
                <key>DeviceAttributes</key>
                <array>
                    <string>UDID</string>
                    <string>DEVICE_NAME</string>
                    <string>VERSION</string>
                    <string>PRODUCT</string>
                    <string>MAC_ADDRESS_EN0</string>
                    <string>IMEI</string>
                    <string>ICCID</string>
                </array>
                <key>URL</key>
                <string>https://my-profile-server</string>
            </dict>
            <key>PayloadDescription</key>
            <string>Enter device into the encrypted profile service</string>
            <key>PayloadDisplayName</key>
            <string>Profile Service</string>
            <key>PayloadIdentifier</key>
            <string>com.xxx.mobileconfig.profile-service</string>
            <key>PayloadOrganization</key>
            <string>XXX</string>
            <key>PayloadType</key>
            <string>Profile Service</string>
            <key>PayloadUUID</key>
            <string>1a21d4dd-6723-45c5-a184-c3fe0075db14</string>
            <key>PayloadVersion</key>
            <integer>1</integer>
        </dict>
    </plist>
    Is there any more attribute that I can get from the device in this payload? For example serial number? Is there any official list of possible attributes? Any help would be much appreciated. Thanks.

    May be here:  http://www.apple.com/support/ios/keynote/

  • I am not able to do a software update as the download button is disabled. Why and any advise may i upgrade my software

    I am not able to do a software update as the download button is disabled. Why and any advise may i upgrade my software

    The download button will be disabled if you are not on a WiFi connection at the present time.
    My 4G/LTE connection is actually faster than my available WiFi (in this present location), but those are the rules...

  • Itunes 11.0.1 still not updating apps in library during iOS sync

    i dont know if this is true for you but i still have the same problem in itunes 11.0.1 that was there is itunes 11.0. apps updated on ios are not being updates in itunes library during sync.
    please let me know if u have a fix or  know a thread where the fix has been posted.
    thanks
    Neerav

    This is an easy fix.  Just try this: Without connecting your phone, open iTunes and go to Preferences, on the Devices tab check "Prevent...from automatically syncing".  Next authorize your computer for all Apple IDs used to purchase these apps in iTunes>Store>Authorize this computer.  Now connect your phone and when it appears on the left sidebar of iTunes right-Right click on its name and select Transfer Purchases (this will transfer your apps and other purchased media to your iTunes library).  Right-click again and select Backup. Now go through the various tabs and select your sync settings (Music, etc.), being careful not to select to sync contacts or calendars on the Info tab unless the program you are syncing with has at least one contact and one calendar event (which will trigger a merge or replace prompt when you first sync).  When you have everything the way you want click Apply to sync your phone.  Note: When you sync to a new iTunes library iTunes will erase all iTunes media and replace it with the media in the library you are syncing with.  You have transferred your apps so they will sync back, however you must also import your music and other media to your library or it will not be transferred back to your phone when you sync.

Maybe you are looking for

  • Apple TV - Huge BUG, wait to buy

    I've now spent two days researching the problem of my Apple TV dropping of from my iTunes on my PC - without any success or help from Apple. My rig is as follows: Apple TV ver:3.0.1: PC Win Vista Ultimate, 4GB RAM, Intel Core Duo 2.13Ghz 32 Bit, iTun

  • Functions in where clauses vs. in group-by ... inconsistent?

    Hello all. (assuming Oracle 9.2) First of all, does anyone know why the Oracle SQL Parser will not allow us to use the <name>-part of "table.column AS <name>" in where or group-by clauses?? Is this just being lazy on their part, or is there an actual

  • Hi i want to ceate customer through bapi with external no range not implici

    hi i want to create customer through bapi which facilitates to enter customer code(our own defined not the sequentially next no.) i have gone through F.M BAPI_CUSTOMER_CREATEFROMDATA1 BUT NOT ABLE TO UNDERSTAND HOW TO INPUT PARAMETER FOR CUSTOMER_COD

  • How do i get data when displaying error message in BDC

    hi, I have generated one internal table for displaying error message using BDCMSGCOLL, i want the the error to display according to the field name, Hw can i get it... ex: <Material name> Error message as name already created or unit doesnt exit... Pl

  • Rich Client ioser12.dll error

    Hi I am looking for a bit of help on setting up a rich client on Win2000 with JDK1.3.1. I have followed the steps in chp 9 of the Java Prog Guide, but get the "Error! The shared library ioser12.dll could not be found" problem listed on page 213 of th