Manager attribute from AD and to AD

Hello Experts,
I am working with AD-IDM implementation.
I am facing two problems here:
1. Issue in getting Manager attribute of the users from HR system onto IDM via initial load and
2. Issue in assigning the Manager attribute to a user from IDM while creating a new user on AD
In case 1, I am simply trying to pass the manager in HR system to attribute MX_MANAGER as
in pass 'to identity store' ->  MX_MANAGER = %manager%
For this, the IDM throws an error as "Entry reference value is not numeric when storing attribute MX_MANAGER=xyz"
In case 2, while creating a new identity assigning the AD privilege, I am trying to assign the manager to that new AD user. But it fails to create a user on AD as the manager attribute value comes with an error "CONSTRAINT_ATT_TYPE"
I know that the manager value on AD resides in DN format, but not sure how to resolve that to use the same for purposes.
Could you please suggest on the above issues.
FYKI - Version: IDM 7.2
Many thanks in advance!
Naveen

Hi Naveen,
In order to start writing scripts, you should know what are the tables/views to query for getting the required information.
I strongly recommend you to go through the the blog IDM SQL Basics #1: Queries against the Identity Store by  Per Krabsetsve
Anyways I am writing down the sample scripts for your reference, which you can make use of.
Let me know for any further queries.
1. For getting the MSKEY of the user from MSKEYVALUE
// Main function: z_sap_getMskeyForMskeyvalue
function z_sap_getMskeyForMskeyvalue(Par)
  var msKey = "";
  msKey = "select distinct mcMSKEY from idmv_entry_simple where mcMSKEYVALUE='"+Par+"'";
  msKey = uSelect(msKey);
  return msKey;
2.  For gettting the DN of the Manager with MSKey as the input to the script.
// Main function: z_sap_getManagerADDN
function z_sap_getManagerADDN(Par)
   var msKey = Par;
  var managerADDN = "";
  managerADDN = "select avalue from idmv_value_basic where MSKEY="+Par+" and AttrName='ACCOUNTIDECAD'";
  // in the above select query ACCOUNTIDECAD is my AD account attribute. In your case it is ACCOUNT<AD Rep Name>
  managerADDN = uSelect(managerADDN);
  return managerADDN;
All the best !!
~ Krishna.

Similar Messages

  • Display attributes from "global" and other entities in a single screen

    As far as I know, in OPM attributes of only one type of entity can be added to any given screen.
    As per of functional requirements of my current project Ihave to display attributes from more than one type of entity in some of the screens.
    I found a workaround for entities which has only one instance (singleton entity in version 10.1), but couldn’t figure out how to display attributes of entities which has multiple instances.
    For example:
    We have an entity called <b>“the child”</b> which has many attributes. There can be more than one child instances defined in a given assessment session.
    This particular screen should have attributes which belong to the <b>"global"</b> and <b>"the child"</b> instances.
    (The names of all the children should be displayed on the screen as <b>check boxes</b> so the user can select the children who are affected by the global attributes displayed on the screen.)
    Is this achievble in OPM 10.1?
    SP1D3R MAN

    Displaying Global attributes and nested entity level attributes on the same question screen cannot be done in OPM 10.1 with out-of-the-box functionality. It would have to be a custom screen. (FYI, I'm not a programmer so I can't advise on how to build such a custom screen.)
    Before building customisations, you should also consider whether you really need to use an old version of the product. OPA 10.1 was released early last year; the current version is 10.3.

  • Get Manager attribute from AD 2003

    Guys, Is there anyway to retrieve the value of "manager" attribute for a specific user defined on Active directory (windows 2003), any example will be higly appreciated as i am trapped. Thank u

    If you know the user name you could simply just retrieve the "manager" attribute. For example:.....
    String userName = "CN=Albert Einstein,OU=Research,DC=antipodes,DC=com";
    // Create the initial directory context
    LdapContext ctx = new InitialLdapContext(env,null);
    // Retrieve all attributes of the requested object
    Attributes attrs = ctx.getAttributes(userName);
    // Print out some of the attributes
    System.out.println("DN: " + attrs.get("distinguishedName").get());
    System.out.println("Manager: " + attrs.get("manager").get());
    .....Alternatively if you are performing a search, again just specify the manager attribute in the list of attributes to be returned. ....
    //Specify the attributes to return
    String returnedAtts[]={"sn","givenName","mail","manager"};
    searchCtls.setReturningAttributes(returnedAtts);
    //Specify the search scope
    searchCtls.setSearchScope(SearchControls.SUBTREE_SCOPE);
    //specify the LDAP search filter
    String searchFilter = "(&(objectClass=user)(mail=*))";
    //Specify the Base for the search
    String searchBase = "DC=Antipodes,DC=Com";
    ....Note the corresponding backlink to the manager attribute is the directReports attribute.

  • How can I retrieve/compute an X509 certificate's thumbprint in Python and then use it for accessing Service Management APIs from Python SDK?

    Hello,
    I am using Azure Python SDK to perform calls to ServiceManagement APIs.
    I have a .publishsettings file generated for my account which includes an encoded version of my X509 certificate and all of my subscription IDs.
    How can I retrieve/compute an X509 certificate's thumbprint in Python?
    Following is the code snippet that helps us do it in .Net.
    Is there a similar approach to do it in Python?
    var publishSettingsFile = @"C:\temp\CORP DPE Account-11-16-2011-credentials.publishsettings";
    XDocument xdoc = XDocument.Load(publishSettingsFile);
    var managementCertbase64string = xdoc.Descendants("PublishProfile").Single().Attribute("ManagementCertificate").Value;
    var importedCert = new X509Certificate2(Convert.FromBase64String(managementCertbase64string));
    thumbprint = importedCert.Thumbprint;
    Once I have the thumbprint, how can I use that thumbprint to access Service Management APIs from Python SDK?
    Thank you in Advance!
    Regards,
    Vaibhav Kale

    Hi,
    Please have check on the below article and check if it helps.
    http://azure.microsoft.com/en-in/documentation/articles/cloud-services-python-how-to-use-service-management/
    Regards,
    Mekh.

  • Query and return attributes from SAP R/3

    Hi All,
    Please help in how to fetch attributes from SAP R/3 and display in IDM.
    There is an attribute which will have list of names and id's in SAP R/3 we need to fetch that information from SAP R/3 and display that information in SUN IDM.
    We are Using JCO adapter.
    Pls help me in this.

    You can get a list of users on an SAP system with the bapi function "BAPI_USER_GETLIST". I don't see that function used by the resource adapter for SAP. You can write some Java code to call "BAPI_USER_GETLIST" and write a rule to access it.

  • Can I manage my Family Sharing and child's Apple ID from my windows computer?

    I've bought a refurbished iPhone in lieu of new iPod touch for a kid. I've had an iPod classic for some years and have always managed my involvement with apple via iTunes on a windows laptop. I want to set up an "under 13" identity for her and start family sharing, but I've yet to find explicit instructions on exactly how to do this. Any suggestions?
    Thanks.

    This should answer:
    From the family Sharing Page (Family Sharing - Apple Support):
    "You can use Family Sharing on your iPhone, iPad, or iPod touch with iOS 8, your Mac with OS X Yosemite and iTunes 12, or your PC with iCloud for Windows 4.0. To get started, one adult in your household—the family organizer—sets up Family Sharing"
    "iOS 8 and OS X Yosemite are required to set up or join a Family Sharing group and are recommended for full functionality."
    To set it up, go to your iCloud Settings on the iOS 8 device.
    So basically, you can't manage it from your PC; from your PC, you can only access the shared iTunes content and other iCloud shared stuff such as photos, calendar etc.

  • Upgrade from Training and Events managment to SAP LSO

    Hi,
    We've upgraded from Training and Events management to SAP LSO 604 and during that process we have run the execute booking relationship harmonization node in IMG.
    We still have references to Business event groups and Business event type in themaster data catalog instead of Course groups and Course types. Are we missing something?
    Thanks,
    Swathi.

    Hi Swathi,
    You have not missed anything, they  resemble the same both in TEM & LSO so dont worry.
    Go Ahead >>>>>>>>>>>>>>
    Regards
    Rafi

  • How Can I export a specific Business Attribute set from CRM and send it to SAP Cloud System

    Hi,
    I have a scenario, where I have Business Attributes Set in CRM.
    But I want to send specific (not all ) Business Attribute from CRM to Cloud System (C4C).
    Is is possible via some customization.
    Thanks and Regards,
    Amit Khatwani

    Hi Padma,
    Do we have a standard BADI delievered for this integration from CRM to C4C.
    Or the customer has to implement the custom BADI and enhance the existing
    message type (process)?
    Best Regards,
    Amit Khatwani

  • Each time I try to start iTunes after it was closed, it wouldn't start. I have to go to the Task Manager delete Apple Push from processes and only after that iTunes statrs again. What is wrong?

    Each time I try to start iTunes after it was closed, it wouldn’t start. I have to go to the Task Manager delete Apple Push from processes and only after that iTunes statrs again. What is wrong

    Did you manage to get it working mine disappeared after I while I managed to download it but now my laptop/iTunes won't recognise my iPhone!

  • Get all tags and attributes from schema

    Mapping question
    I have a mapping requirement where the customer needs all the tags and attributes from the schema whether it has a value or not. The schema has almost 1500 tags and each of them has a attribute. We are mapping only about 50 of them, so the rest of them has to be blank. Actually about 700 of the attributes has fixed values like CHAR. Normally I would create a second mapping and use exists otherwise map a empty tag, but in this case the number of tags is high. Is there a easy way to create all the blank tags during runtime similar to using generate instance in test mode or generate sample file in xmlspy.
    The scenario is IDOC to SOAP with BPM customer is using a custom schema
    Thanks in advance
    Asif

    Any hint or suggestion with the use of java/xslt/abap mapping or any other way to avoid mapping each of these tags manually will be appreciated.
    thanks
    Asif

  • Start and manage applications from creative cloud

    Hi, why not be able to start Adobe CC applications from the Creative Cloud itself? Why not manage them from it, to uninstall, additionally to update or install? I've needed this during the switch to CC 2014. Why not re-install option too? In the process of switching to CC 2014, I've installed PS CC 2014 and AI CC 2014, then uninstalled the old CC ones and I've got to uninstall CC 2014 apps and install them again just to get rid of some registry issues done in the process, like file associations lost and AI message that needs to run as administrator in order to fix some registry issues, which it couldn't fix actually (under Windows).
    Regards, Mike.

    Before you remove anything you should sign out of the Creative Cloud so that it is reset for you when you reinstall and sign in again.
    Sign out, Sign in | Creative Cloud desktop app
    http://helpx.adobe.com/creative-cloud/kb/sign-in-out-creative-cloud-desktop-app.html
    Activation & deactivation help
    https://helpx.adobe.com/x-productkb/policy-pricing/activation-deactivation-products.html#a ctivate-how-to

  • I want to activate Color Management Suite from purchase via internet photoshop, illustrator and indesign, how? thank you for your reply

    I want to activate Color Management Suite from purchase via internet photoshop, illustrator and indesign, how? thank you for your reply

    hello, I already Bridge CS6 installed but can not be accessed by the> parameters color edition menu. The message said that eereur lme Suite Color Management is not enabled. What should I do?
    De : gener7 <[email protected]<mailto:[email protected]>>
    Répondre à : "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>>
    Date : mardi 9 septembre 2014 14:20
    À : jp <[email protected]<mailto:[email protected]>>
    Objet :  I want to activate Color Management Suite from purchase via internet photoshop, illustrator and indesign, how? thank you for your reply
    Download and install Bridge CC, then in the Bridge Edit menu > Color Settings choose the color settings you want to synchronize your CC apps to.
    ATTENTION Le message contenu dans cet email ainsi que dans tout fichier attaché est destiné exclusivement aux personnes dont le nom figure ci-dessus. Il peut contenir des informations confidentielles ou protégées par le secret professionnel et dont la divulgation est strictement prohibée. Si vous avez reçu cet email par erreur, détruisez-en le contenu. Vous n'êtes pas autorisé, dans cette hypothèse, à copier, distribuer ou conserver ce message. Merci.
    WARNING This information in this mail and in any attachments is intended for the above-mentioned addressees only. It may contain privileged or confidential information the review, dissemination or disclosure of which is strictly prohibited. If you have received this email by error, please destroy it. In this case, you are not authorised to disclose, copy, distribute, or retain this message or any part of it. Thank you.

  • How can we transfer product attributes from an already existing site?  We have thousands of items and it would be tedious to do them one at a time.  Is this possible through a CSV?

    How can we transfer product attributes from an already existing site?  We have thousands of items and it would be tedious to do them one at a time.  Is this possible through a CSV?

    There are two parts to this:
    1) It may be that you should have an Apple Education Support person helping you with this. If you have enough computers for this to be a problem, you may benefit from a Server, a site license, and an occasional visit from an Education Support Specialist.
    2) The brief answer, if you want Individual Apple_IDs to control each computer, is to buy new copies of Mac OS X under those new Apple_IDs and re-download and re-Install. Mac OS X is customized to the Apple_ID before it is downloaded.

  • Filter and Sort Transient Attribute from Query Panel

    Jdev 11.1.1.3
    Hello,
    i am not able to filter a transient attribute from the standard query panel (with result table).
    I did following things:
    -Call an Initial AppMod Service Method from my Bounded Task Flow, and fill the Transient Attribute with some values (with setter method)
    -Next, call the Page with following characteristics:
    I defined a custom View Criteria with particular Bind Variables, take as query execution mode = In Memory and activate the Auto Query Flag
    Drag and Droped this Criteria from Conroll Panel on the Page as Query Panel with Table
    In Page Data Binding Definition, i set the InitialQueryOverridden Flag to true, otherwise no data will be filled in the transient attribute
    The sort and filter works only for the Database Attributes.
    Has anyone an Idea, how to keep same behavior for the trans attr.?
    Thank You!
    (Note: When i set the Query Mode (after init Call) to vo.setQueryMode(ViewObject.QUERY_MODE_SCAN_VIEW_ROWS), then the sorting of Trans Attr is working fine.
    But the filtering is not working well: Lets say a filtering is done by the Trans Attribute and we get 3 Rows. But when all rows wanted to be retrieved again, only those 3 are available then, no chance to get all rows back)

    Hi,
    assuming that sorting and filtering are similar, have a look here
    sorting on transient attribute
    Frank

  • Management IP from service profile and from server

    are there a difference between the management IP from the equipment tab --> server1 --> change mgmt IP
    and from server tab--> service profile--> service profile1--> change mgmt IP
    as I found that when I configured the mgmt from server in equipment tab, I could not find this IP in the mgmt in service profile mgmt IP
    the attachment describe what I mean

    Out of band means communication over the 1G management port of the fabric interconnects.
    By default, each blade in a chassis slot gets assigned a CIMC IP address out of the pool. Therefore, if you associate the SP to another blade, the CIMC / KVM address changes.
    It is also possible to assign an IP address to a service profile, and avoid that the CIMC / KMV address changes, if association of the SP happens. The disadvantage is that you need a additional IP address for every SP, even if the SP is not associated. Therefore most customers don't use this feature.
    Therefore, a CIMC can have a max of 2 IP addresses.

Maybe you are looking for