Customizing User Name Policy OOTB Plugin

Hi
I want to use the User Name policy generation plugin to generate the user id for an oim user. But the requirement is that we have to create the User ID with Preferred Name(not with first name) and Last Name and the issue is that in the code we cannot get the attribute other then the attribute coming in the HashMap. So the question is , Is there any way in which we can pass this UDF to that hashmap or can get the value in the code?
Please note Preferred name is a UDF and coming from the trusted Source.
Thanks in Advance

Maybe i've partially solved the issue, I've noted that during the user creation procedure the username field is mandatory in the for so I must specify a value.
Maybe the validation procedure of the OOTB username policy returns alway a true value so the field is always converted in UPPERCASE and the username generation rule is never called
How can i set a non mandatory account name field ?

Similar Messages

  • Doubt regarding User Name Policy

    Hi,
    I have a requirement where I have to generate User Login based on First Name,Last Name and Employee Number(Employee Number generated in pre-process event handler). We have trusted recon in place. So. I opted for User Name Policy. I have written custom code and implemented it as per instructions in Article ID:[ID 1228035.1].
    But when I create a User through UI, User name policy is getting triggered ahead of Employee Number pre-process handler. And as a result, Employee number is generated as NULL. How can I change this order of triggering between User Name policy and Employee Number pre-process handler?
    Also how exactly is this User Name policy triggered? Is it an event handler? If it is a pre-process event handler, how will it trigger for trusted recon as trusted recon supports only post-process event handlers?
    Thanks
    DPK

    Hi,
    Any suggestions on this please.

  • Custom user name validation in subscription to event

    Hello,
    I am on R11.5.10.2 and trying to create fnd_users using FND_USER_PKG.CREATEUSER. But i am getting following error :
    ORA - 20001: Custom user name validation in subscription to event oracle.apps.fnd.user.name.validate failed.
    The above mention business event is enabled but their is no subscription attached to it.
    Can any body faced the same issue ?
    Thanks
    Ayaz

    Also send the count of invalid onjects in the DBNot sure how the count would help, but I believe the name of invalid objects would be more helpful.

  • FND_USER_PKG.CreateUser - ORA-20001: Custom user name validation

    Hi,
    I created a user IDM in Oracle ERP instance (R12.1.2). I gave execute privilege on FND_USER_PKG to IDM.
    I also created synonym IDM.FND_USER_PKG for APPS.FND_USER_PKG;
    I logged in to SQLPLUS as IDM and executed the below and got an error - ORA-20001: Custom user name validation in subscription to event oracle.fnd.user.name.validate failed. Could anyone of you help me?
    The statement works fine when I run as APPS.
    SQL>begin
    2 FND_USER_PKG.CreateUser (
    3 x_user_name => 'TEST899',
    4 x_owner => NULL,
    5 x_unencrypted_password => 'oracle',
    6 x_session_number => userenv('sessionid'),
    7 x_start_date => sysdate );
    8
    9 end;
    10 /
    begin
    ERROR at line 1:
    ORA-20001: Custom user name validation in subscription to event
    oracle.fnd.user.name.vali
    date failed.
    ORA-06512: at "APPS.APP_EXCEPTION", line 72
    ORA-06512: at "APPS.FND_USER_PKG", line 3663
    ORA-06512: at "APPS.FND_USER_PKG", line 955
    ORA-06512: at "APPS.FND_USER_PKG", line 1173
    ORA-06512: at "APPS.FND_USER_PKG", line 1292
    ORA-06512: at line 2
    Thanks
    Cherrish Vaidiyan

    Can you reproduce the issue when you create the same user from the application?
    ORA-20001: Custom user name validation in subscription to event oracle.fnd.user.name.validate failedDo you have any customization that could be related to user creation validation?
    Can you reproduce the issue if you use the code in https://forums.oracle.com/forums/search.jspa?threadID=&q=FND_USER_PKG.CreateUser&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

  • Custom user name mapper needs external LDAP connection.

    I have a custom user name mapper that needs to connect to our external LDAP. Our security realm is configured to connect to the external LDAP for users and groups. Is there a way to reuse this connection in the custom user name mapper?

    I have a custom user name mapper that needs to connect to our external LDAP. Our security realm is configured to connect to the external LDAP for users and groups. Is there a way to reuse this connection in the custom user name mapper?

  • User ID Number to Custom User Name

    Hello.
    We have some users logging in using their SSN (or some important #). We want them to create their own usernames and login using the new name. This name will just be for logging in, we want to track audit info like updated by and created by etc. with the SSN. (We have old records with this # as audit col values , also the user should be able to change their user names later)
    Is there a way to authenticate using the new user name and set the session user id with the original ID (SSN or other numbers) used.
    Thanks.
    A.S

    Bump.

  • How long can be the login user name ?

    Hi all,
    We are changing our user name policy from jvazquez to jose.vazquez. The new user name don't fit in the bname field. Anybody know if is possible to expand it or change this size ?? We're using basis 6.20 and r3 enterprise.
    Best regards and thanks in advanced.

    Ok, thanks.
    It confirms what found about this. But i've one more question, Do you recommend the single sign-on ? What are the most common problems we can find if we use it ?
    Best regards

  • Custom report toshow the "Last Logon User Name"

    Is it possible to create a custom report to display the "Last Logon User Name" field that appears in the Properties of each computer object ?

    Yes, download the RDL file and modify the report. If the user name is not in one of the current datasets, then you have to add it first.
    Kent Agerlund | My blogs: blog.coretech.dk/kea and
    SCUG.dk/ | Twitter:
    @Agerlund | Linkedin: Kent Agerlund |
    Mastering ConfigMgr 2012 The Fundamentals

  • Azure AD user name not using configured custom domain name

    I have configured a few users for Lync Online that I setup before I had custom domain name work with Azure AD.  Now I have the custom domain setup and verified and configured as the primary domain.  The users that were configured for Lync
    Online are still displayed with the *.onmicrosoft.com username in Azure AD.
    Is there a way I can change these users so their usernames use our custom domain?

    You can easily change the UPN via PowerShell:
    Set-MsolUserPrincipalName -UserPrincipalName [email protected] -NewUserPrincipalName [email protected]
    If you want to do this in bulk for all users, you can use something like this:
    $all = Get-MsolUser -All
    $users = $all | ? {$_.UserPrincipalName -match "tenant.onmicrosoft.com"}
    $users | % {Set-MsolUserPrincipalName -UserPrincipalName $_.UserPrincipalName -NewUserPrincipalName $_.UserPrincipalName.Replace("tenant.onmicrosoft.com","domain.com")}
    Test it first against a single user of course :)

  • On SAP e-commerce, How customer can request their forgotten user name.

    On SAP e-commerce, How customer can request their forgotten user name or password.

    In the Admin go to Setup - Config Settings - Membership(dropdown)
    The settings for this and all other user authentication are here

  • OWSM user name token service policy for a proxy service at OSB

    Hi Friends,
    I am facing an issue while trying for the OWSM user name token service policy Authentication for a proxy service at OSB. I am using the PS4 SOA suite with AIA foundation pack. very first I am login into the EM console and choose the domain<soaosb_domain> form web logic domain I moved to security->security provide configuration. Inside the security provide configuration we have to key store section and I expand that and we have a configure button inside the keys tore. I click that button and it open a new page. In that page I got the Java key store (JKS) as the default key store and in the access Attributes I keep the default key store path and fill password and confirm password fields. Then in Identity certificates I fill the signature key and Encryption key with key Alias as 'orakey' and same password which I am mentioned at access Attributes. I got the message like the key store is created successfully. Then I restarted the server and again I am login into the EM console and choose the domain<soaosb_domain> form web logic domain I moved to security. In security I choose the credentials. In credentials we have create key. In the create key I add the key as hari-key and provide the hari as a user and his password.
    While trying to test the proxy service i am getting the [OSB Security - OWSM: 387253] Failed to initialize OWSM Credential Manager. Please validate the Key store Configuration.
    can anyone please look at this and suggest me how can I proceed for this.
    Thanks
    Hari

    anyone please respond to the above request.
    Thanks
    Hari

  • How do I send an email to customer support re consolidation of user names

    I wish to consolidate user names as I have had to delete one address I used some time ago

    Do you mean the email code to download Mountain Lion for free?
    Report the issue to Apple using the email form here  Apple - Support - Mac App Store - Contact Support

  • How to change user name in OIM 11

    Hi,
    I have a custom java class to generate unique user names based on last name + initials + numbers (for duplicates). We have this implemented in plugin framework and it seems to be working fine. But when someone changes his name (first, last or middle), the user names need to be recalculated. How can we automate this process?
    Any ideas are highly appreciated!
    MBiswal

    I will suggest update your existing eventhandler and instead of Create operation use both CREATE and MODIFY operation under your eventhandler and your same code will be working fine.
    Make sure you use EntityManager.modify to update userprofile.(don't use Usermanager.modify)
    In MDS you can say Operation ANY
    While writing code use: if (operation.equals("MODIFY") || operation.equals("CREATE")){                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • For some reason Firefox is not asking if I wish to save the user name and password anymore. Please help as to why.

    For some reason Firefox is not asking if I wish to save the user name and password anymore. Please help as to why.

    Your plugins list shows outdated plugin(s) with known security and stability risks.
    *Shockwave Flash 10.0 r32
    Update the [[Flash]] plugin to the latest version.
    *http://www.adobe.com/software/flash/about/
    * Make sure that you not run Firefox in [[Private Browsing]] mode
    * In Private Browsing mode some menu items are disabled (grayed) and features like visited links are disabled and not showing
    * You are in Private Browsing mode if you see "Tools > Stop Private Browsing", possibly grayed
    * You enter Private Browsing mode if you select: Tools > Options > Privacy > History: Firefox will: "Never Remember History"
    * To see all History settings, choose: Tools > Options > Privacy, choose the setting <b>Firefox will: Use custom settings for history</b>
    * Uncheck: [ ] "Automatically start Firefox in a private browsing session"

  • How to get the CLIENT OS USER NAME using Apex

    Dear All,
    I know there are many other posts (some of them are very old) discuss about this issue. But unfortunately most of the posts endup with NO PROPER ANSWER. But still I believe that tehre has to be some way to do this. So this is my requirement.
    I am using custom authentication module and I want to get the CLIENT MACHINE OS USER NAME for that. But I do not want to do any authentication against the client user domain.
    How can I get this?
    * There are some other way to get this using VB Scripts. But thats not a real solution for this due to followings
    01. User has to manually allow to run VB scripts. So if user dissable that then we canot get the required info
    02. Its working only with specific browsers(Mainly in IE and also we can get that thing work after installing plugins to Firefox.). So this is also depends with the bvrowser and plugings.
    What I want to do is to get this info using a common way which is not depends with the browser or any thirdparty plugins.
    Thanks,
    Alex

    Its good that you did some searching in the forums before you posted the question.
    Most modern browsers would consider what you require as a security/privacy issue and prevents such information from being transmitted available(easily). IE might let you pull out this using a VB script or activex control. Browser specific addons/extension could work but they need some kind of installation to start with. Java could be a way to do it with all browsers, but the end user still has to grant access before it can do any such thing.
    Lets say you were able to pull out such information from an end user, what would be next, get his mail id from outlook ? , access his browsing history, steal credit card information or read cookies?
    Add to that , what if the end user accesses it using any other OS(linux,macintosh or even a smartphone) ? what about windows vista and windows 7 OS's , are you going to write code to handle all those cases too ?
    Here's a blog posting which explains using NTLM authentication with Apex(it still needs configuration from the end user)
    What I want to do is to get this info using a common way which is not depends with the browser or any thirdparty plugins.I guess if this is the question, then the answer would have to be no. I don't think you will be able to find a method that passes this information from the client side without any modification/configuration at their side

Maybe you are looking for

  • Logical systems

    hi , experts 1.documentation on logical sysytem 2.can u provide all the dependencies in logical system.

  • Links no longer work after signing document

    Links no longer work after signing document - I have updated to latest version and run installation repair, is this a problem or is it supposed to do that?

  • Repeat email output for purchase order

    Hi all,     I have an email output (ZMAL)) that sends a notification from purchase order when the total value exceed $50,000 at creation of PO.  This works fine.  However, during ME22N, when the total po value goes from  intial $30,000 to $60,000, at

  • How to Refer WebI Report in SAP Portal

    Hi Experts, I want to show one of the report created in Web Intelligence rich client  in SAP portal. I have done the SSO part and imported the par files and changed the configuration in web.xml  as per the documentation. Now ! I have developed the re

  • Official number in sales invoice Argentina

    Hi everyone I need some help with an official number in  invoice in Argentina, I customized  the official number in argentina automatic but the client want to do it manually. It`s weard because I coud do it automatic but manually cannot, I don`t not