Problem in setting user end date from oim to account expiry date in AD process form

Hi all,
i am updating the user end date from oim to user account expiry date in ad process form using oim api.
i am able to get the end date value from oim but when i am setting it using api it through exception but all other attribute i am able to update in process form.
i am facing the problem only with end date field because of different date format in OIM and  AD .
so please suggest me what are date format in Active Directory and how can i change the oim date format to Active directory time format in in my java code.

Thanks for the reply.
But all iplanet users need not contain end date attribute, and its an update on existing user.
Can you please ellaborate more on Transformation class..?? example should be helpful.

Similar Messages

  • Need to know the sqluery to find the disabled date from OIM 9.1.0.1

    Hi Experts,
    Need very urgent inputs from you all for the preparation of our audit.
    We are using OIM9.1.0.1
    We need to know the sqlquery for finding the Disabled date in OIM given the user ids, as currently we are unable to get the exact data from Historical Reports Option in OIM.
    I need to give in this format:
    select usr_login, usr_disabled from schemaname.tablename where usr_login in
    ('aaa','bbb'..... etc)
    We have three attributes :USR_DISABLED_BY_PARENT,USR_DISABLED,USR_DEPROVISIONING_DATE,but none of them give the exact date,
    USR_DISABLED gives just a flag as 1 or 0.
    Also there are no other fields in the corresponding usr table.
    So how to fetch the exact Disabled date from OIM system when I input the user ids.
    Your immediate response is appreciated.
    Thanks
    SS

    In the entire thread many experts have given nice queries in different formats...
    The best approach would be to open up the SQL Developer, connect with the OIM Database and experiment with all sorts of SQL queries provided by all the experts..
    Learn some SQL techniques, like Inner Join etc...
    Then you yourself will be able to figure out what you need, in exactly which format, for which users and for whom you have to restrict
    Then not only this question, you would be able to solve dozens of similar such issues yourself...
    And trust me, nothing can match that...
    Just in case, you are not familiar with SQL Developer,
    http://www.oracle.com/technetwork/developer-tools/sql-developer/downloads/index.html
    Oracle SQL Developer 3.2.1 (3.2.10.09.57)
    September 24, 2012
    The Disabled DATE will be the creation date of that entry in the UPA_FIELDS table when Users.Status changed to Disabled.
    SELECT USR.USR_LOGIN, UPA_FIELDS.CREATE_DATE
    FROM UPA_FIELDS
    WHERE UPA_FIELDS.FIELD_NAME='Users.Status'
    AND UPA_FIELDS.FIELD_NEW_VALUE='Disabled'
    AND UPA_FIELDS.UPA_USR_KEY=USR.USR_KEY
    AND USR.USR_LOGIN NOT IN ('XELSYSADM', 'XELOPERATOR', 'WEBLOGIC');

  • Is there any way to export IT Resource data from OIM using the export tool?

    Hello,
    we are trying to migrate an OIM development environment to a preproduction environment and we need to migrate more than 400 IT Resources. We have exported some IT Resources and when we imported them in the preproduction environment their data was not migrated. Is there any way to export IT Resource data from OIM using the export tool? Or is there any other way to do this without doing it by hand?
    Thank you for your help
    Kind Regards

    Well , OIM doesnot provide any such facility to export ITResource data along with ITResource .
    Directly updating the DB could be an option ..
    Thanks

  • Users not provisioned from OIM to OID groups

    I've created an Access policy such that when i create a user with role as consultant he is automatically provisioned to OID resource and OID group( cn=group1,cn=groups,dc=ad,dc=company,dc=com ).
    The user is provisioned to OID users(cn=users) but not to cn=group1,cn=group....
    What could be wrong?
    i have run the OID group lookup tasks to generate freshly added group lookups. Theses lookups are populated in process form when i create an access policy.
    For ex the lookup generated is cn=group1,cn=group,dc=ad,dc=company,dc=com and the decode value is group1
    The user profile and process form are not linked. That means changes in process form are not reflected to user profile. Can this be possible reason for the hassle defined above
    please help me resolve this issue.
    Edited by: Chhavi Saluja on Feb 15, 2010 1:30 AM

    Hi,
    Today I have also done the same thing of auto provisioning of OID through access policy. Only difference is that for selecting "Container DN" and "User group" we have created two user defined fields(lookup)in the user form which will refer to the lookups "Lookup.OID.Organization" and "Lookup.OID.Group" for inputs.These lookups are already reconciled once from OID.
    As far as "container DN" iam successful but while selecting "user group" iam able to select and when i click on "create user" user is getting provisioned to OID into Container DN i specified.But user is not going into that particular group i specified.Iam assuming the reason is that as User Group is a mutivalued attribute and if we observe the process form of group selection we will see the add button. But on user form we dont have the option of child form to ADD/REMOVE the groups.
    Someone pls suggest how to proceed further on this.How do i push the user into particular group/groups from the create user form itself?

  • How can I restore data from my iCloud account on a new iPhone 5c with a previous SW version that my old (stolen) iPhone 5?

    Hello everybody,
    I need help to restore data from my iCloud account on an unused iPhone 5c because my iPhone 5 with a newer iOS update was stolen. When I try I get a message that I cannot retore my data because the iOS on my iPhone 5c is an older version than on the stolen iPhone 5.
    There must be a way to do this. I hope to hear from you
    thanks!

    Welcome to Apple Support Communities
    You cannot. However, you can solve this problem by setting the iPhone as a new device and upgrading iOS in Settings -> Software Update.
    After upgrading iOS, open Settings -> General -> Reset -> Erase All Content and Settings. Finally, Setup Assistant will let you restore the backup.

  • How to display data from a recordset based on data from another recordset

    How to display data from a recordset based on data from
    another recordset.
    What I would like to do is as follows:
    I have a fantasy hockey league website. For each team I have
    a team page (clubhouse) which is generated using PHP/MySQL. The one
    area I would like to clean up is the displaying of the divisional
    standings on the right side. As of right now, I use a URL variable
    (division = id2) to grab the needed data, which works ok. What I
    want to do is clean up the url abit.
    So far the url is
    clubhouse.php?team=Wings&id=DET&id2=Pacific, in the end all
    I want is clubhouse.php?team=Wings.
    I have a separate table, that has the teams entire
    information (full team name, short team, abbreviation, conference,
    division, etc. so I was thinking if I could somehow do this:
    Recordset Team Info is filtered using URL variable team
    (short team). Based on what team equals, it would then insert this
    variable into the Divisional Standings recordset.
    So example: If I type in clubhouse.php?team=Wings, the Team
    Info recordset would bring up the Pacific division. Then 'Pacific'
    would be inserted into the Divisional Standings recordset to
    display the Pacific Division Standings.
    Basically I want this
    SELECT *
    FROM standings
    WHERE division = <teaminfo.division>
    ORDER BY pts DESC
    Could someone help me, thank you.

    Assuming two tables- teamtable and standings:
    teamtable - which has entire info about the team and has a
    field called
    "div" which has the division name say "pacific" and you want
    to use this
    name to get corresponding details from the other table.
    standings - which has a field called "division" which you
    want to use to
    give the standings
    SELECT * FROM standings AS st, teamtable AS t
    WHERE st.division = t.div
    ORDER BY pts DESC
    Instead of * you could be specific on what fields you want to
    select ..
    something like
    SELECT st.id AS id, st.position AS position, st.teamname AS
    team
    You cannot lose until you give up !!!
    "Leburn98" <[email protected]> wrote in
    message
    news:[email protected]...
    > How to display data from a recordset based on data from
    another recordset.
    >
    > What I would like to do is as follows:
    >
    > I have a fantasy hockey league website. For each team I
    have a team page
    > (clubhouse) which is generated using PHP/MySQL. The one
    area I would like
    > to
    > clean up is the displaying of the divisional standings
    on the right side.
    > As of
    > right now, I use a URL variable (division = id2) to grab
    the needed data,
    > which
    > works ok. What I want to do is clean up the url abit.
    >
    > So far the url is
    clubhouse.php?team=Wings&id=DET&id2=Pacific, in the end
    > all
    > I want is clubhouse.php?team=Wings.
    >
    > I have a separate table, that has the teams entire
    information (full team
    > name, short team, abbreviation, conference, division,
    etc. so I was
    > thinking if
    > I could somehow do this:
    >
    > Recordset Team Info is filtered using URL variable team
    (short team).
    > Based on
    > what team equals, it would then insert this variable
    into the Divisional
    > Standings recordset.
    >
    > So example: If I type in clubhouse.php?team=Wings, the
    Team Info recordset
    > would bring up the Pacific division. Then 'Pacific'
    would be inserted into
    > the
    > Divisional Standings recordset to display the Pacific
    Division Standings.
    >
    > Basically I want this
    >
    > SELECT *
    > FROM standings
    > WHERE division = <teaminfo.division>
    > ORDER BY pts DESC
    >
    > Could someone help me, thank you.
    >

  • How to exctract data from a report to use it in a process

    Hi! I would like to know how to exctract data from a report to use it in a process. Let's say that I have a report which have following fields: id_person, name_person. And then, I want to make a process which introduce the id_person (from report) into an associative tabel. How can I reffer to the fields from my report?
    I was thinking about something like that( this should be the code from my process)
    insert into associative_table(id_person)
    values(id_person) or
    insert into associative_table(id_person)
    values(Report_name.id_person) but it doesn't work....
    Thank you very much.

    Another option, use collections.
    Create an on load process that loads all the rows you would have in your report into a collection:
    begin
    HTMLDB_COLLECTION.CREATE_OR_TRUNCATE_COLLECTION(
    p_collection_name => 'ASSIGNED_CALENDAR_CONTACTS' );
    for x in (SELECT CONTACT_ID, CONTACT_FNAME, CONTACT_LNAME
    FROM CONTACT
    WHERE InStr( pkg_CalendarMgr.f_FetchContactIDsForDay( TO_DATE( :P3_CALENDAR_DT, 'YYYYMMDD' ), 'OF' ), CONTACT_ID ) > 0 )
    loop
    htmldb_collection.add_member(p_collection_name => 'ASSIGNED_CALENDAR_CONTACTS',
    p_c001 => x.CONTACT_ID,
    p_c002 => x.CONTACT_FNAME,
    p_c003 => x.CONTACT_LNAME);
    end loop;
    end;
    Then, instead of your report selecting from the table, have it select from the collection, this way your display will match what's in the collection:
    SELECT c001, c002 || Chr(32) || c003 CONTACT_NAME, 'Remove' remove
    FROM htmldb_collections
    WHERE collection_name = 'ASSIGNED_CALENDAR_CONTACTS'
    ORDER BY c003, c002
    Then you can have a button on the form that steps through the collection, one element at a time and does whatever you want it to.

  • Why select data from Function directly (SE37) got data , but when use funct

    why select data from Function directly (SE37) got data , but when use function in program donot found data
    i use function
    CS_BOM_EXPL_MAT_V2
    when i run function directly at SE37 .
    i found data.
    but when i use same function in program .
    system not found.
    please see my attachment.
    help me please.
    [http://www.quickfilepost.com/download.do?get=c974356a498b3a4d369aa0c50622e50b]
    http://www.quickfilepost.com/download.do?get=c974356a498b3a4d369aa0c50622e50b

    I know why U get empty data.
    In Program U should follow the rules:
    U'd better data a variant typed the function parameters's type.
    for example:
    in your program the parameter: stlal  = '1'
    U'd better like follow:
    Data l_stlal type STKO-STLAL
    l_stlal = '01'.  *Attention: '1' <> '01'.
    stlal  = l_stlal.
    in this way U may have less mistake
    and the parameter MTNRV
    U should use material convernt : "CONVERSION_EXIT_MATN1_INPUT" to change material into internal types before U put into function's parameter.
    why se37 has no problem? because In se37, the data you filled was be processed before use

  • How can I remove safari data from shared iCloud account?

    Before iOS 8 and family sharing I was using a single iCloud account shared among several Apple devices in my household.  Now that we are all using our own separate Apple Accounts I want to delete shared data from other devices that were using my iCloud account.  For example, my wife and I both have data synched with iCloud (the same account) for Safari.  Now that her phone has been switched over to her own AppleID, I want to purge the data stored in my icloud account from her device.  When I open Safari on my phone, I can see a list at the bottom of tabs that my wife had open on her phone at one time in the past.  That list will never get updated now that she is using her own account.  So how do I purge old data from other devices off my iCloud account? 

    If she's on a different account now, Safari data from the previous account should no longer be on her device.  iCloud tabs, on the other hand, will persist from a device that is no longer sharing the account for 14 days, after which they are automatically cleared.  (This is coming from iCloud, not from her device.)  You might try waiting a couple of weeks and see if they aren't automatically removed.
    If you're still concerned, you could always ask her to go to Settings>Safari and tap Clear History and Website Data.  This won't clear her iCloud tabs from your device though; you'll have to wait for that.

  • How to select data from a table using a date field in the where condition?

    How to select data from a table using a date field in the where condition?
    For eg:
    data itab like equk occurs 0 with header line.
    select * from equk into table itab where werks = 'C001'
                                                      and bdatu = '31129999'.
    thanks.

    Hi Ramesh,
    Specify the date format as YYYYMMDD in where condition.
    Dates are internally stored in SAP as YYYYMMDD only.
    Change your date format in WHERE condition as follows.
    data itab like equk occurs 0 with header line.
    select * from equk into table itab where werks = 'C001'
    and bdatu = <b>'99991231'.</b>
    I doubt check your data base table EQUK on this date for the existince of data.
    Otherwise, just change the conidition on BDATU like below to see all entries prior to this date.
    data itab like equk occurs 0 with header line.
    select * from equk into table itab where werks = 'C001'
    and <b> bdatu <= '99991231'.</b>
    Thanks,
    Vinay
    Thanks,
    Vinay

  • THE DATA FROM THE ORACLE DATABASE VIEW DATA IS NOT REFERESHED AUTOMATICALLY

    THE DATA FROM THE ORACLE DATABASE VIEW DATA IS NOT REFERESHED AUTOMATICALLY IN OBIEE DASHBOARD(ANSWERS)
    UNLESS AND UNTILL I OPEN THE ORACLE BI ADMINISTRATOR TOOL AND DO UPDATE ALL ROWCOUNT AND THEN SAVE THE RPD.
    WHERE AS ORACLE DATABASE TABLE DATA IS AUTOMATICALLY REFRESHED.
    PLS SOMEONE HELP OUT IN THIS ISSUE.

    Check whether you have enable cache on that view?

  • Is there any way to retrieve or recover lost personal data from my Firefox account?

    Not knowing what it really meant, I checked the box that says "Remove my Firefox personal data and customizations" as I was uninstalling Firefox. (I just thought it will remove it from my computer... but not from my account!) Now that I reinstalled it, I realized that it meant removing all of my personal data from my Firefox account. -_____- Is there any way to retrieve them?

    No, I'm afraid not. If you choose to remove personal data when uninstalling Firefox the all Firefox profile folders are removed. Not only from the current Firefox version, but from others as well if you have other Firefox builds installed. This choice should be used with much care.
    You can try to recover some data with an undelete utility like Recuva.
    *Recuva: http://www.piriform.com/recuva
    *https://support.mozilla.org/kb/Recovering+important+data+from+an+old+profile
    *http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox
    *http://kb.mozillazine.org/Profile_folder_-_Firefox

  • How to get account expiry date for Oracle Directory Server?

    I need to get the account expiry date for Oracle Directory server. Which attribute stores this value? Please let me also know the attribute type and how to fetch it.
    Thanks,
    Subrat

    Hello,
    Yes you can use nsAccountLock directly (When nsAccountLock=true, the object is inactivated and the user cannot log in)
    This is documented in Modifying Directory Server’s NsAccountLockAttribute Directly (Sun Java System Directory Server Enterprise Edition 6.2 In…  (release number is old but it does not matter, Thats the first one Ive found)
    You can also use dsutil account-inactivate as described in dsutil - 11g Release 1 (11.1.1.7.0)
    Sylvain
    Please mark this response as correct or helpful when appropriate to make it easier for others to find it

  • Issue in import data from OIM to OIA

    Hi All,
    While importing entitlements from OIM to OIA ,we are getting following exceptions in OIA logs :
    19:01:29,839 INFO [OIMDataProviderImpl] Start : Get Status of Data Collection ...
    19:01:29,860 DEBUG[IamDataSyncMonitorImpl] OIMStatus FAILED
    19:01:29,860 DEBUG[DBIAMSolution] Data Staging Failed: DATA COLLECTION FAILED. Aborting. Let'sFinalize data collection.
      19:01:29,860 INFO [OIMDataProviderImpl] Start Finalize Data Collection ...
      19:01:30,063 INFO [OIMDataProviderImpl] End Finalize Data Collection ...
      19:01:30,063 ERROR[DBIAMSolution] ERROR: Data Staging Failed: DATA COLLECTION FAILED. Aborting.
      19:01:30,071 DEBUG[DBIAMSolution] publishing import completed event...
      19:01:30,072 DEBUG[DefaultIAMListener] Queuing IAM Event.com.vaau.rbacx.iam.IAMEvent[source=com.vaau.rbacx.iam.db.DBIAMSolution@75592f8b]
      19:01:30,072 ERROR[DBIAMSolution] Data Staging Failed: DATA COLLECTION FAILED. Aborting.
    19:01:30,899 DEBUG[DefaultIAMListener] ProcessingEvent:com.vaau.rbacx.iam.IAMEvent[source=com.vaau.rbacx.iam.db.DBIAMSolution@75592f8b],
    exception:null
    Please provide any helpful pointer to resolve this issue.
    Thanks,
    RPB

    Hi All,
    While importing entitlements from OIM to OIA ,we are getting following exceptions in OIA logs :
    19:01:29,839 INFO [OIMDataProviderImpl] Start : Get Status of Data Collection ...
    19:01:29,860 DEBUG[IamDataSyncMonitorImpl] OIMStatus FAILED
    19:01:29,860 DEBUG[DBIAMSolution] Data Staging Failed: DATA COLLECTION FAILED. Aborting. Let'sFinalize data collection.
      19:01:29,860 INFO [OIMDataProviderImpl] Start Finalize Data Collection ...
      19:01:30,063 INFO [OIMDataProviderImpl] End Finalize Data Collection ...
      19:01:30,063 ERROR[DBIAMSolution] ERROR: Data Staging Failed: DATA COLLECTION FAILED. Aborting.
      19:01:30,071 DEBUG[DBIAMSolution] publishing import completed event...
      19:01:30,072 DEBUG[DefaultIAMListener] Queuing IAM Event.com.vaau.rbacx.iam.IAMEvent[source=com.vaau.rbacx.iam.db.DBIAMSolution@75592f8b]
      19:01:30,072 ERROR[DBIAMSolution] Data Staging Failed: DATA COLLECTION FAILED. Aborting.
    19:01:30,899 DEBUG[DefaultIAMListener] ProcessingEvent:com.vaau.rbacx.iam.IAMEvent[source=com.vaau.rbacx.iam.db.DBIAMSolution@75592f8b],
    exception:null
    Please provide any helpful pointer to resolve this issue.
    Thanks,
    RPB

  • Historical data from OIM?

    Hi again,
    I just wanna ask this group how they would go about setting up a historical view on a user.
    i.e.
    What access did the user in question have at a specific time, in OIM and all conncted resources.
    So, lets say we have an AD and some other external resources which are all available as resources in OIM.
    I now need to make a report of what resources and values on that resources a user had f.ex. 20 days ago.
    I found some info in the UPA tables, but these seem to focus mainly on what happens in the User Profile, not the resources.
    Is this the place where all changes to all fields is saved?
    I am looking for examples and docs on how these tables are connected?
    Is it possible with OIM to do this?

    There are audit levels to and audit reports that let you define your snapshot window to see all the data that was recorded.
    The UPA tables hold all the audit information, but there are additional steps to enable the higher level auditing. You won't get process form data without doing those steps.
    -Kevin

Maybe you are looking for