IOM, API - getData() - no data is not returned by the user account

Hi all

I have a question for the AD account data. The problem is when I try to get the account data from any account (account status: enabled, the account Type: primary), the API GetData returns a blank card and I don't know why. I see this account in the accounts of the user to the IOM. This account has been created through reconciliation of AD and this account is only one (primary and active).

In the test environment my code works very well, but production only.

Here is part of my code where I get some details of account.

...

accounts = provServ.getAccountsProvisionedToUser (take);

Logger.Finest ("getUsersToTheLookupTask-> user Details - take:" + take + ", DisplayName:" + userDisplayName);

Iterator it = accounts.iterator ();

{while (IT.hasNext ())}

Account ad_account = (Account) it.next ();

If (ad_account.getAppInstance () .getApplicationInstanceName () .equalsIgnoreCase (appInstName) & & ad_account.getAccountType () .equals (Account.ACCOUNT_TYPE.) (Primary)) {}

Logger.Finest ("getUsersToTheLookupTask-> AppInstance ApplicationInstanceName:" + ad_account.getAppInstance () .getApplicationInstanceName ());

Logger.Finest ("getUsersToTheLookupTask-> AppInstance DisplayName:" + ad_account.getAppInstance () .getDisplayName ());

Logger.Finest ("getUsersToTheLookupTask-> AccountDescriptiveField:" + ad_account.getAccountDescriptiveField ());

Logger.Finest ("getUsersToTheLookupTask-> getAccountID:" + ad_account.getAccountID ());

String UtilisateurDN = getADUserDN (appInstName, take);

AccountData accountdata = ad_account.getAccountData ();

Map < String, Object > accdata = accountdata.getData ();                         //THIS RETURN EMPTY map < String, Object >! And I don't know why!

Logger.Finest ("--> account data:" + accdata);

String userOrg = accdata.get("UD_ADUSER_ORGNAME").toString ();

String userCN = accdata.get("UD_ADUSER_COMMONNAME").toString ();

Logger.Finest ("-> CN an ORG:" + userOrg + "-" + userCN);

userOrg = userOrg.substring (userOrg.indexOf ("OR ="));

String UtilisateurDN = "CN =" + userCN + "," + userOrg;

Logger.Finest ("getUsersToTheLookupTask-> pair key / value:" + UtilisateurDN + ":" + userDisplayName);

userMap.put (UtilisateurDN, userDisplayName);

}

}

...

You have an idea why I'm not able to get user account data?

Thank you!

Milan

Fact.

The following API does not return the AccountData in the AccountVO. Old API IOM at 11.1.2.0 in 11.1.2.1 IOM Yes.

accounts = provServ.getAccountsProvisionedToUser (take);

If you need obtain account data, use:

Acccriteria SearchCriteria = new SearchCriteria (ProvisioningConstants.AccountSearchAttribute.APPINST_KEY.getId (), "*", SearchCriteria.Operator.EQUAL);

accounts = provServ.getAccountsProvisionedToUser (take, acccriteria, null, true);

...

AccountData accountdata = ad_account.getAccountData ();

Card accdata = accountdata.getData ();

GetData returns then map of attributes as I expected.

Tags: Fusion Middleware

Similar Questions

  • Updatususer new user on PC. The user does not appear in the user accounts. It is said that the account was 9 hrs + connected. Is this a virus or some backdoor account made kids?

    Original title: Updatususer

    I was checking the parental control to see what children are in and I found this new user in there.  The user does not appear in the user accounts.  Updatususer, is the name.

    I tried to access any information in the file, but I see no file... even if it is said that the account was 9 hrs + connected.  Is this a virus or some backdoor account made kids?

    Thank you

    It seems to be used by a program to update NVIDIA.

    http://forums.nvidia.com/index.php?showtopic=178965

  • Check box does not appear in the user accounts (netplwiz) Win 8 "users must enter a user name and password to use this computer"

    I'm trying to implement the autologon 8 Win who was working a moment fact either. I tried the suggested solution of unchecking the checkbox in the user accounts, but this choice does not appear. I'm not on a domain, just a regular home network.

    It worked for me.

    I set up an email on my desktop and it applied security policies.  I deleted the account and password policies remained.

    This has removed the policies, and now I'm able to connect without a pw again!

    Thank you!

  • Category of user accounts keep "logout" as soon as the password is typed in and click on the button "Enter". This does not happen when the user account Standard is passed to a user account administrator.

    Problem connecting to the computer. Commissioning is fine and all the "Administrator"users can log in and go online. " all standard users just have a message "connect to the wide" and can not same acess to the start menu.

    Problem connecting to the computer. Commissioning is fine and all the "Administrator"users can log in and go online. " all standard users just have a message "connect to the wide" and can not same acess to the start menu.

    Maybe you want to experiment to see if you children have corrupted their user profiles.
    Sign in to your admin account, set up a NEW standard user account, give it a password.
    Log this new user account. Is it effective?
    If so, you should "delete" user accounts for your children and start again.
    Note: If you start to remove their accounts, read the instructions. You have the option to SAVE your kids except their e-mail data.

    t-4-2

  • Autodesk AutoCAD LT 2005 will not run on the user account

    Autodesk AutoCAD LT 2005

    AutoCad LT 2005 application can not run the domain of a user under windows 7, while if you exaggerate administrator OK.

    Please help with this problem.

    Signature of the problem:
    Problem event name: APPCRASH
    Application name: aclt.exe
    Application version: 22.1.63.0
    Application timestamp: 403c7d29
    Fault Module name: ntdll.dll
    Fault Module Version: 6.1.7601.17514
    Timestamp of Module error: 4ce7b96e
    Exception code: c0000005
    Exception offset: 00034cf3
    OS version: 6.1.7601.2.1.0.256.48
    Locale ID: 1057
    Additional information 1: 4c0d
    More information 2: 4c0d4d78887f76d971d5d00f1f20a433
    3 more information: 4c0d
    Additional information 4: 4c0d4d78887f76d971d5d00f1f20a433

    Read our privacy statement online:
    http://go.Microsoft.com/fwlink/?LinkId=104288&clcid=0x0409

    If the online privacy statement is not available, please read our privacy statementoffline:
    C: \ Windows-system32-en-erofflps.txt

    Hello

    Your question is more complex than what is generally answered in the Microsoft Answers forums. It is best suited for on Technet. Please post your question in the Technet forums. You can follow the link to your question:

  • All data is not cause to the specified criteria. Although SQL is good

    I get the message in the answers below.

    All data is not cause to the specified criteria.

    I set the recording level 2 and confirmed that the generated SQL is good and when run directly with db, the sql returns data.

    Where can I check look at why no data is returned in the responses, even if a good sql is generated?

    Do you have RAM on your system for this particular table? Perhaps, this is one place to check. If it is enabled, try RAM stop and report.

    Please assign points if helpful/correct.

  • date does not appear in the message list

    For the many emails I get from various accounts date does not appear in the list of messages, only time.
    It seems that these messages were received today, in fact they are old.

    Encountered this problem on 2 different PCs, 3 different email (gmail and own server) accounts.

    What could be the cause and how to fix it?

    IF you select Ctrl U _ on one of these messages, there is a right of the line at the top of the message
    -Killed Mar 25 10:09 2014 is a message that I received today. This is the date and time Thunderbird has calculated, he received the message

    Lower on the list

    Date is: sub form Date: Monday, March 24, 2014 23:32:50-0000

    These two are of the same email.

    E-mail uses time GMT so that the message has been sent to 24 March 2014 23:32:50 GMT.

    Thunderbird uses my locale information to know that my timezone is GMT + 09:30 by result Mar 25 10:09

    If your seeing odd times instead of dates, check that the information is correct as above.

    Note that if the sender is their computer set to 1970 date then you will get mail today from them with the date of 1970. Even if they think it's in October that is what will show their mail. This is most important when dealing with people with limited computer skills. They do not appreciate that the date and time zone information are really relevant to them at all.

    A favorite of spammers is to use a date in the future, so their junk is at the top of your e-mail list until you actually do something with it.

  • Prospective Golf Sports simulation mode full-screen on one monitor, but when it runs the mouse would not return to the other monitor.

    original title: two monitors, mouse stuck
    I'm under Simulation of Golf Sports prospective mode full-screen on one monitor, but when it runs the mouse will not return to the other monitor. It seems that the mouse is not bound by the program, but I want to be able to use another application on the other monitor. Any suggestions?

    Hello

     
    What operating system is installed on the computer?
     
    Method 1: You can press the Windows key on the keyboard that appears in the start window and your mouse will automatically gets shifted to the main monitor.
     
    Method 2:
    (a) click Start, type change the mouse settings.
    (b) go to the pointer Options tab of
    (c) uncheck Display pointer trails
    (d) click apply and OK.
     
    Method 3: See if he has all the parameters of the Simulation of Golf to release the mouse button.
     
    If the methods above do not help, you can contact the Golf Simulation for additional help.
     
  • Z10 Z10 BlackBerry BlackBerry data are not compatible with the version of the software you are currently using

    Due to some problems with my BlackBerry Z10 I concerned with my service provider, after recommendation that I wiped my BlackBerry Z10, to update the OS security

    After all this. I am unable to restore completely, (Emails, Contacts, calendar and device settings cannot be restored)

    Link blackBerry screen: the data are not compatible with the version of the software that you are currently runnin

    Kindly guide me I'm too worried about my data, which is very important for me

    If you still get www.bberror.com//bb10-0015 and have not corrected:

    Read the troubleshooting tips for error Knowledge Base BB10-0015
    0015 - file unrecoverable system error has been detected.
    More information can be found here: http://support.blackberry.com/kb/articleDetail?ArticleNumber=000034545

    http://supportforums.BlackBerry.com/T5/BlackBerry-Z10/error-BB10-0015/m-p/2685103#M45693

    I recommend you use a charger automatic file to restore the operating system on your device:
    https://supportforums.BlackBerry.com/T5/BlackBerry-10-functions-and/upgrading-OS10-devices-using-aut...

  • BlackBerry software blackberry 10 data is not compatible with the version of the software of the device you are currently using

    Hello

    My update of 10.3.1.1565 sali writing entry to the top on my phone.  so I tried the downgrade to 10.2.1 to do all my files are gone, however I thought I was smart by making this morning during the execution of 10.3.1.1565 a full backup before attempting the downgrade to os 10.2.1 through BlackBerry Link

    In any case I had to restore my device to 10.3.1.1565 and now when I try to do a restore by using the .bbb (backup) I created to present IE get the following error message:

    BlackBerry 10 data is not compatible with the version of the software of the device you are currently using

    versions of the software on my phone now and the version of the software when I did my backup are exactly the same 10.3.1.1565.  I am able to restore my user files and applications ect, because it proposes to make a partial restoration,., but my contacts and don't forget files are now gone.  I NEED THEM.  How can I get that back...

    Help, please...

    Thank you

    Hello

    I thought about it.  so I thought I'd post.  Apparently the BlackBerry pulled the 10.3.1.1565 update.  Anway don't know what happened over butI usng Shenshi and grabbing an update of another carrier, after that, so I'm now able to do a full restore using my old BBB file.

  • Dates are not appearing in the column start and Finsh of MS Project 2010. They become W31/4, W31/5, etc. Instead of 7/31/20113. How can I fix it?

    Dates are not appearing in the column start and Finsh of MS Project 2010. They appear rather like W31/4, W31/5, etc. When it should be like this: 7/31/20113. How can I fix it? Note: Dates listed do appear correctly.

    Hello Charlie,.

    You are welcome. It is what we are trying to do... help people! Thanks for letting me know that the problem is solved. Don't forget to mark it as your response so that we can spread the knowledge more far.

    Kind regards

    BearPup

  • The logged data is not loaded in the target table in cdc-compatible?

    Hello

    I tried with cdc-simple concept on single table.

    I had loaded, journaled table (only changed records) inserted in the simple target in cdc table. Its working fine.

    When I work on cdc-consistent and logged data are not loaded in the target table

    For this, I used the data model, it has 3 data stores. log the without option of data, its works very well.

    When I am trying to load tables logged in the target table in interface, its running fine.

    To do this, I chose "logged data only.

    Although I have not changed the records in the target table. target table is empty after the executed insterface.

    err1.png

    err4.png

    err2.png

    err3.png

    I chose the real option of insertion in ikm. But the logged data that is not inserted in the target table.

    Please help me.

    Thankin advacnce,

    A.Kavya.

    Hello

    You must EXPAND WINDOW and LOCK SUBSCRIBERS before consuming the CDC data:

    http://docs.Oracle.com/CD/E14571_01/integrate.1111/e12643/data_capture.htm#ODIDG283

    Subsequently, you unlock Subscriber and purge the log.

    Better to put a package to automate the whole thing.

  • Small Bug: Detection of people - O key does not return to the grid view

    Windows 7

    When I tap the O key, I will in face detection module.

    But when I hit the e key O once again, I do not return to the display of the grid.

    To do this, I have to click on this icon to return to the display of the grid.

    The grid view is always key G

  • Fill in the Date field to CurrentDate if not entered by the user

    I have this simple condition to enter the Date to current date if it is not entered by the user. In the same way with the time of day. I tried writing below the lines in the document of the rule, but it does not work: -.

    DATE = current date if

    DATE is not known

    Can someone help me with this? I have a screen where the field belongs to several questions. If not entered by the user, the system fills when the user presses the submit button.

    3 things to consider:

    • If the user does not provide an answer to a question of date attribute, this attribute date will be uncertain, not unknown;
    • You cannot define an attribute based on itself - which is a loop of logic and modules does not compile
    • You cannot set a conditionally non Boolean attribute without a rules table.

    My solution would be to ask the user for the value of another attribute (DATE of the USER) and then use it to determine the value of DATE inside a table of rules, as follows:

    DATE

    the date of the day

    The USER DATE is uncertain

    THE USER DATE

    in the opposite case

    See you soon,.

    Brad.

  • Hi, I have another problem, when people visit my site that they could not return to the home page

    Hi, I have another problem, when people visit my site that they could not return to the home page

    Hello

    Problem is in outline view.

    Please follow the steps below and you should be all set.

    1. go in the Plan view.

    2. right click on the 'HOME' page

    3. Select "Menu" > "include the Page containing the hyperlink.

    4 save the file and then try to preview.

    You should be all set.

    Concerning

    Vivek

Maybe you are looking for