Getting domain profile object

I want to access the domain profile object from my provider.
i know how to access the domain name using the profile and policy api but how can i get the domain profile object?

what info do u want to get from it?

Similar Messages

  • How to  get the profile object in simple java class  (Property accessor)

    Hi All,
    Please guide me how to get the profile object in simple java class (Property accessor) which is extending the RepositoryPropertyDescriptor.
    I have one requirement where i need the profile object i.e i have store id which is tied to profile .so i need the profile object in the property accessor of the SKU item descriptor property, which is extending RepositoryPropertyDescriptor.
    a.I dont have request object also to do request.resolvename.
    b.It is not a component to create setter and getter.It is simple java class which is extending the RepositoryPropertyDescriptor.
    Advance Thanks.

    Iam afraid you might run into synchronization issues with it. You are trying to get/set value of property of a sku repository item that is shared across various profiles.
    Say one profile A called setPropertyValue("propertyName", value).Now another profile B accesses
    getPropertyValue() {
    super.getPropertyValue() // Chance of getting value set by Profile A.
    // Perform logic
    There is a chance that profile B getting the value set by Profile A and hence inconsistency.
    How about doing this way??
    Create PropertyDescriptor in Profile (i.e user item descriptor), pass the attribute CustomCatalogTools in userProfile.xml to that property.
    <attribute name="catalogTools" value="atg.commerce.catalog.CustomCatalogTools"/>
    getPropertyValue()
    //You have Profile item descriptor and also storeId property value.
    // Use CustomCatalogTools.findSku();
    // Use storeId, profile repository item, sku repository item to perform the logic
    Here user itemdescriptor getPropertyValue/setPropertyValue is always called by same profile and there is consistency.
    -karthik

  • Getting domain and role profiles

    i have access to the user profile and the application profile via the public API but i also need to have access to the domain profile ( i need to get some attributes at the domain level ) and found no way of doing that in the public API?
    is there a way to do that via the API or do i need to create my own methods to access the ldap directory and retrieve the information?

    Sreekanth, step 2 of the role has priority over the access profile.

  • New Domain Profile can't see Oracle ODBC Driver

    Has anyone ever moved a desktop to a new domain? If so, have you ever run across the new domain profile not being able to install software that edits the registry? Here's what I did:
    1. Changed TCP/IP settings to DHCP on desktop.
    2. Moved cable in network room from old hub to new hub.
    3. Joined new domain on desktop.
    4. Rebooted the machine and logged in with domain credentials.
    5. Added domain account to local machine administrators group.
    6. Logged off and logged back on with new privilages.
    Here's where it got weird. I then tried to test a VPN connection to an external data warehouse. The VPN connected properly, but when I attempted to make a connection to the database (through Crystal Reports), it bombed and said the ODBC driver wasn't installed (it was under the old profile). So, thinking I was smart, I grabbed the Oracle 9i client disk and reinstalled the client to get the ODBC driver back.
    At which point, I received an error stating I didn't have permission to write a key in the registry. This is semi-funny, since I was then able to re-install JInitiator, which does write to the registry, with no problem. Any suggestions??????
    Glenn McWilson
    Workforce Development Council of Seattle-King County
    [email protected]
    206.448.0474

    A few simple things to check: printer powered on? USB cable OK? Is it connected, as well?
    If it doesn't automatically show up in the printer setup utility, try choosing "More Printers" and then select Epson USB. See if it shows up then.

  • How do you find out if the domain profile is active in the firewall?

    A script needs to determine if a firewall profile is active.  Does anybody know of a function to do this?
    The problem I a trying to solve is when a server boots it may not activate the domain profile.  It happens if the server is booted before a domain controller comes on line or if and adapter team is in use.  To solve this, I run a script at boot
    up that waits and then restarts the nla service and typically the domain profile will become active.  However it isn't fool proof.  I want to modify the script to verify that the domain profile has become active.  However, I cannot find a function
    to determine if the domain profile is active. Can someone help with this?

    Are you using something with PowerShell 4.0 that has the NetSecurity module? The second part of that question will be based on the version of the Windows Operating System. To check, try this: Get-Module -Name NetSecurity. If you do, you can based your logic
    around the Get-NetFirewallProfile and, perhaps, the Set-NetFirewallProfile cmdlet.
    Get-NetFirewallProfile -Name Domain
    Get-NetFirewallProfile -Name Domain | select Enabled
    Get-NetFirewallProfile -Name Domain | select -ExpandProperty Enabled
    (Get-NetFirewallProfile -Name Domain).Enabled
    To enable (or, activate) the profile, you can pipe your Get- cmdlet to the Set- version of the cmdlet.
    Get-NetFirewallProfile -Name Domain | Set-NetFirewallProfile -Enabled:True
    Without access to this version of PowerShell and this module, you'll either need to use netsh and/or WMI. I haven't checked myself, but I wouldn't be surprised if you can find something in the
    Gallery.

  • GW7 - Unable to delete Domain & MTA objects after crash

    Yes...I know there are similar threads already on the forums...but I'm still stuck :)
    Had a server crash - which was running GW7 WebAccess & hosted a Domain (Domain_3 in our case). And naturally, this server was put together by a long gone consultant years ago - who left little documentation and no current backup (well, we thought we had one...but it didn't restore). So I was left to wing it on my own.
    Rebuilt a server from scratch (NW 6.5 SP8). The server sits it's own tree and is in a DMZ off of a BorderManager server (multi-homed - and yes...life on the trailing edge of technology).
    I was unable to delete or use the existing GW objects (Domain_3, MTA or WebAccess)...so I created a new domain (Domain_2) and reinstalled WebAccess and the MTA. I used the same IP addresses/ports as the original/crashed server.
    This got us back on our feet and WebAccess seems to be working as expected.
    I've since tried following various TIDS about grafting the legacy objects into another part of the tree, etc. Unfortunately, the grafting process likewise failed after seemingly creating the domain & MTA objects. An error message indicated that I (as admin) didn't have sufficient rights (hard to believe...). So now I have two Domain_3 objects (w/MTAs, etc.) in different parts of the tree - which are non-functional and un-delete-able (if that's a word).
    I also managed to create another temporary domain object (Domain_9) in testing - which now won't allow me to delete it either (ugh)!
    I also found numerous pending GW operations - including the deletes, modifies, etc.
    Digging deeper - I have some stuck obituaries that are all related to the domain objects that I'm trying to get to disappear. Of course, I tried to free these stuck obituaries following various TIDs (which I've done in the past for other non-groupwise objects stuck in limbo) - but failed. I'm not sure if this is a cause, an effect, or just collateral damage...
    So I'm 10 miles past frustration...and have obviously hosed this pretty well...
    Any suggestions or guidance on where to focus my attention first?

    That's how I ended up with a 2nd copy of Domain_3 :) I created a temporary container - and tried to graft Domain_3. It created a domain object and a MTA - before failing (the error said I had insufficient rights to complete the task). Naturally, I couldn't delete these new objects either once they were created I performed this action as "admin" - authenticated to both trees (the GW objects are actually in our production tree).
    KM

  • Changed domain profiles - now unable to verify identify for password recovery

    This problem seems to have incorporated parts of other threads. I do not know if the anyone else ended up at the same place - frankly, the IBM / Lenovo support process is bewildering.
    Anyhow, we switched domains recently. I dropped the domain profile to a local profile, then rejoined to the next domain. Problems ensued.
    At this point, I have gone into BIOS and purged all fingerprint information (after uninstalling CSS 8.0 and fingerprint 5.6 software). Reinstalled CSS (8.1) and FP 5.6. Was eventually able to delete the fingerprint profiles associated with the previous user profile. Enrolled FP for the new profile.
    I am repeatedly asked to verify my identify. However, I am unable to modify / recover the CSS password. I can complete the three questions to get into the password manager, but never can reset the CSS pw)
    Frankly, I do not even know if I am describing this correctly. Uugh. Any help would be greatly appreciated.

    What I had to end up doing was re-sync the password used on the old domain with the password stored in the CSS.
    I did this be changing my password under the windows change password function. The password had to match exactly. After that, I logged into CSS normally, without a hitch. Once confirmed, I could modify my windows password normally, and CSS somehow synchronized with this.
    Hope this helps.

  • API0408: Within same namespace domain one object has already used the name

    Migration of dimensions from 10.2.0.4 to 11.2.0.1 getting above message
    Noticed when dimensiions imported in via mdl file, onl levels tab, applicable items box are al unchecked
    When try add check the box to match what existed in 10.2.0.4 get message
    Within same namespace domain one object has already used the name <object_name>
    Can recreate the dimensions but didn't wantto have to.

    Are you going to be deploying the dimensions? The namespace was changed in the database for dimensions and tables and I think that's why you are getting that error from OWB. If you are not deploying the dimensions then I think you can configure the module to generate 10gR2 code and avoid the validation error - otherwise you will have to change the dimension names ... I think.
    Cheers
    David

  • Worflow failed to get user profile for user

    I have a workflow that sends an email to a user.  In the workflow email, one line has the lookup [%User Profiles:Name%], with Return field "As String" of the list item Field "Account Name" with Value "Current Item:Created By".
    This workflow works for everyone, except it Errors when one user creats an item in this list.  The error is "Workflow failed to get user profile for user...  System Account - An error has occurred in Workflow Name"
    and more detailed error found in logs: "AutoStart Workflow: Microsoft.SharePoint.SPException: Recursive workflows are not permitted.     at Microsoft.SharePoint.Workflow.SPWorkflowAutostartEventReceiver.<>c__DisplayClass1.<AutoStartWorkflow>b__0(SPSite
    superUserSite, SPWeb superUserWeb)
    System.InvalidOperationException: Workflow failed to get user profile for user:domainName\username.     at Microsoft.Office.Workflow.Actions.UserProfileHelper.GetProfile(String propertyName, String user)     at Microsoft.Office.Workflow.Actions.ProfileHelperBase.GetProfileString(String
    propertyName, String userOrOrganization)     at Microsoft.Office.Workflow.Actions.GetUserProfileActivity.Execute(ActivityExecutionContext context)     at System.Workflow.ComponentModel.ActivityExecutor`1.Execute(T activity,
    ActivityExecutionContext executionContext)     at System.Workflow.ComponentModel.ActivityExecutor`1.Execute(Activity activity, ActivityExecutionContext executionContext)     at System.Workflow.ComponentModel.ActivityExecutorOperation.Run(IWorkflowCoreRuntime
    workflowCoreRuntime)     at System.Workflow.Runtime.Scheduler.Run()  "
    When I run "get-addomain -identity [FQDN]", I noticed that our DNSRoot has a totally different name than our NetBIOSName, so I followed this article and made sure to set netbiosdomainnamesenabled to TRUE:
    http://meandmysharepoint.blogspot.ca/2012/09/netbiosdomainnamesenabled-and.html
    To give you an idea of our setup, our DNSRoot is "abc.domain.com" and our NetBIOSName is "TESTING"; 2 totally different names.  When I run "get-addomain -identity [FQDN]", the Name field is: "abc" (just the first
    part of the DNSRoot); therefore, when I look up this user's profile in Sharepoint Manage User Profiles, his account shows as "abc\username" when it should be "TESTING\username".
    I did an IISReset, and I ran a Full Profile Sync. But the workflow still Errors for this user.
    Any ideas how to fix this?  Should I delete MySites and User Profile Service application and recreate them?
    Any tips would be appreciated.
    thanks!

    Hi,
    According to your description, my understanding is that the error occurred when sending an email to the user in workflow.
    Did you delete the existing Connections before setting NetBiosDomainNamesEnabled?
    If not, I recommend to delete and recreate your AD connections, then set NetBiosDomainNamesEnabled to true.
    Or you can delete the original User Profile Service Application and create a new one, then set the NetBiosDomainNamesEnabled to true and start the User Profile Service Application
     synchronization.
    More reference:
    http://social.technet.microsoft.com/wiki/contents/articles/18060.sharepoint-20xx-what-if-the-domain-netbios-name-is-different-than-the-fqdn-of-the-domain-with-user-profile.aspx
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • Not able to get the profile option value

    Hi,
    Not able to get the profile option value after i changed the new value in the application.
    I am using fnd_global.apps_initialize to initialize the apps from PLSQL code to get the updated profile option value. But fnd_profile.value is not getting fetched the updated value. Still it is fetching the old one. I mean it is stored in database cache. Please any one let me know how to get the new value every time after i changed the value.
    Thanks

    What is the application release?
    Is this a custom or seeded profile option?
    Can you confirm that the value got changed from the application (query the profile option and verify the value)?
    Can you reproduce the issue if you use an API to update this profile option as per (How to Change Profile Option Value Without Forms? [ID 943710.1])?
    Thanks,
    Hussein

  • How can I get the underlying object from the ObjectReference

    Dear friends,
    I think this question has been asked a couple of times. But, I am still wondering if anybody has found an answer to it. Maybe this is some common need ...
    I would like to get the underlying object for which the ObjectReference is
    a mirror For example, I have a class Customer in my application, and I can get an ObjectReference through JDI during runtime. But how can I get the target VM's object which is a real instance of Customer, by which I can invoke methods defined in Customer?
    Thank you so much for any input!
    SunnyDay

    I'll preface this response by admitting this far from an elegant solution, but I did write a function addressing this question, mostly as an exercise.
    If passed an object with an InTextFrame property (Pgf, AFrame, Cell, Fn) that resides in an open document, the function will return the Doc object. Otherwise, it returns undefined.
    function getParentDoc(testObj) {
        //Get object for current page
        try { var curPage = testObj.InTextFrame.FrameParent.PageFramePage; }
        catch(er) {return;}
        //Step backwards to first page in document
        var prevPage = curPage.PagePrev;
        while (prevPage.ObjectValid())
            curPage = prevPage;
            prevPage = prevPage.PagePrev;
        //Compare with first pages of open documents
        var testDoc = app.FirstOpenDoc;
        while (testDoc.ObjectValid())
            if (curPage.id==testDoc.FirstBodyPageInDoc.id) return testDoc;
            testDoc = testDoc.NextOpenDocInSession;    
        return;
    To your PPS: Rather than seeing the native framework grow bloated to address additional features, I would love to see Adobe and other developers publish libraries of useful functions and class extensions.

  • How to get an ArrayList Object in servlet from JSP?

    How to get an ArrayList Object in servlet from JSP?
    hi all
    please give the solution for this without using session and application...
    In test1.jsp file
    i am setting values for my setter methods using <jsp:usebean> <jsp:setproperty> tags as shown below.
    After that i am adding the usebean object to array list, then using request.setAttribute("arraylist object")
    ---------Code----------
    <jsp:useBean id="payment" class="com.common.PaymentHandler" scope="request" />
    <jsp:setProperty name="payment" property="strCreditCardNo" param="creditCardNumber" />
    <%-- <jsp:setProperty name="payment" property="iCsc" param="securityCode" /> --%>
    <jsp:setProperty name="payment" property="strDate" param="expirationDate" />
    <jsp:setProperty name="payment" property="strCardType" param="creditCardType" />
    <%--<jsp:setProperty name="payment" property="cDeactivate" param="deactivateBox" />
    <jsp:setProperty name="payment" property="fAmount" param="depositAmt" />
    <jsp:setProperty name="payment" property="fAmount" param="totalAmtDue" /> --%>
    <jsp:useBean id="lis" class="java.util.ArrayList" scope="request">
    <%
    lis.add(payment);
    %>
    </jsp:useBean>
    <%
    request.setAttribute("lis1",lis);
    %>
    -----------Code in JSP-----------------
    In testServlet.java
    i tried to get the arraylist object in servlet using request.getAttribute
    But I unable to get that arrayObject in servlet.....
    So if any one help me out in this, it will be very helpfull to me..
    Thanks in Advance
    Edward

    Hi,
    Im also facing the similar problen
    pls anybody help..
    thax in advance....
    Litty

  • How to get the UserTransaction object in  stateless session bean

    Hi, I am using jboss server and jdk5 version and using EJB.
    My Application flow :
    JSP à Action(Struts) à Service Locator à Session bean à Entity Bean(cmp) à DB.
    I tried to get the UserTransaction object in my Action. Its my code.
    InitialContext ctx = new InitialContext();
    UserTransaction uTrans = (UserTransaction) ctx.lookup("java:comp/UserTransaction");
    After used uTrans.begin(),uTrans.commit() and uTrans. rollback () also.
    Its working fine .
    But, I used the the same code inside in my session bean its not working.
    Stateless Session Manager Bean code :
    public class SampleManagerBean implements SessionBean {
    public void ejbCreate() throws CreateException {  }
    public void ejbRemove() {  }
    public void ejbActivate() {   }
    public void ejbPassivate() {   }
    public void setSessionContext(SessionContext sessionContext) {
    this.sessionContext = sessionContext;
         public void createSample() throws EJBException
         try{
                   InitialContext ctx = new InitialContext();
                   UserTransaction ut = (UserTransaction) ctx.lookup("java:comp/UserTransaction");
              }catch(Exception e) {
              System.out.println(“ Exception === > “+e)
    Its throws the error ie: javax.naming.NameNotFoundException: UserTransaction not bound
    How to get the UserTransaction object in my session bean. Kindly give solution the above errors.
    - Thendral

    first of all, you could just use sessionContext.getUserTransaction(). however, that would only work if your bean is using bean-managed transactions. the default is container-managed transaction, in which case you cannot get a UserTransaction object. if you want to manage transactions, you need to add the TransactionManagementType.BEAN annotation to your ejb.

  • Is there inbuild Handler in weblogic using which i can get the MessageContext object

    HI,
    I need MessageContext object in my application but i dont want to use the Handler,As
    there is AxisEngine in axis soap engine,is there any similar implementation in
    weblogic.
    AxisEngine.getCurrentMessageContext() we can get the MessageContext what about
    in weblogic..any body any idea???
    Regards,
    Akhil Nagpal

    HI,
    yeah i had to make use of Handler to get the MessageContext object and play with
    that.
    Thanks & Regards
    Akhil Nagpal
    "manoj cheenath" <[email protected]> wrote:
    You can get to MessageContext from a handler. Check out an example of
    handler
    to see how you can get Message out of MessageContext.
    -manoj
    "Akhil Nagpal" <[email protected]> wrote in message
    news:[email protected]..
    HI manoj,
    Thanks for your reply.otherwise i thought that i wont get any morehelp
    on this
    forum :-) ...
    anyway its good that we will have such thing in next version,duringthe
    development
    i feel that more functioanlity should be in build in appserver. Likeone
    more
    thing i could not find out is how we can get the "message" object inweblogic
    like we can in axis using its MessageContext class's static method.if it
    is there
    can you please let me knwo about that.
    The other problem i had to make use of handler and my appl is workingas of
    now :-)
    Regards
    Akhil Nagpal
    "manoj cheenath" <[email protected]> wrote:
    You can not do this in WLS 7.0. The next major release (WLS 8.1) will
    fix
    this problem.
    -manoj
    "Akhil Nagpal" <[email protected]> wrote in message
    news:[email protected]..
    HI,
    I need MessageContext object in my application but i dont want
    to
    use
    the Handler,As
    there is AxisEngine in axis soap engine,is there any similarimplementation in
    weblogic.
    AxisEngine.getCurrentMessageContext() we can get the MessageContextwhat
    about
    in weblogic..any body any idea???
    Regards,
    Akhil Nagpal

  • How do I get an activeX object reference from a LabVIEW ActiveXContainer ref?

    How do I get an activeX object reference from a LabVIEW ActiveXContainer ref?
    I'm trying to control an ActiveX object (a Web Browser) from another VI and need to get the object reference programmatically. I can get the LabVIEW ActiveXContainer reference, but am lost on how to get the reference for the object _inside_ the container.

    Hi Lee,
    The reference to the container is actually also accessing the object inside the container. Use the Property Node and Invoke Node to access properties and launch methods for the object. I've attached a small example that passes the reference to a SubVI and invokes a method inside the SubVI.
    - Philip Courtois, Thinkbot Solutions
    Attachments:
    WebContainer.zip ‏21 KB

Maybe you are looking for