Silly but...How do get the accountId of the current admin in a UserForm.

I know how to do this in Workflow but I can't seem to determine how to do this in a UserForm.
I want to get a handle on an User object for the currently logged in admin user so I can reference <user>.adminRoles.
I was intending to use:
<invoke name='getObject' class="com.ui...FormUtil">
<ref>display.session</ref>
<s>User</s>
<ref>?????????</ref>
not sure what to reference to get the admin accountId. I've tried display.subject, WS_USER etc.
Thanks                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

swengCGI,
That worked, but I'm struggling still with the larger problem. I need to get access to the <User>.adminRoles attribute list. What I want to do is say Disable a form field if the current user is NOT part of an admin role. With the handle on the current user I was expecting to be able to simply use getObject of type User and reference it, that did not work.
Since that I've tried the
<get>
<getobj>
<s>User:</s>
<ref><a variable set with defvar and the code you gave me</ref>
</getobj>
<s>adminRoles</s>
</get>
But still to no avail. There is a topic on this in the IDM FAQ but it's more detailed than I need as it's checking for Capabilities etc.
Any thoughts

Similar Messages

  • I use more than one computer to access my four business email accounts. When one computer is on (and mail is open) emails do not get through to the other computers. This is fine, but how do I make one of the other computers the dominant one?

    I use more than one computer to access my four business email accounts. When one computer is on (and mail is open) emails do not get through to the other computers. This is fine, but how do I make one of the other computers the dominant one?

    I assume these are POP accounts and all computers are set to remove from Server after downloading.
    So on the non dominant ones... Mail Preferences>Accounts, highlight an account, Advanced tab, uncheck remove from Server, just have the main dominant one remove from server.
    Or get/setup IMAP accounts.

  • I have two personal e-mail accounts and a general account that I have synced to my Mail app, but I keep getting emails sent to the non-personal e-mail because they're on the same server. How can I change that?

    I have two personal e-mail accounts and a general account that I have synced to my Mail app, but I keep getting emails sent to the non-personal e-mail because they're on the same server. How can I change that?

    The only ways I know of for email to get sent to an account are:
    1. It was addressed to that account. Someone used that email address to send you the email.
    2. It was forwarded to that account by the account to which it had been addressed. I am not aware of Mail having this feature but it is often a feature provided by your ISP that you can turn on by logging into your account via the Internet and setting it up.  I assume you have not done this, though.
    With several email addresses in the same Mail client, you have to be careful which one you are sending from. If you send from the wrong address, any replies will come back to that same address. I make this mistake all too often.

  • HT1212 ive changed my email on itunes and apple and att but my app store still shows my old id so it doesnt recognize me to add new apps...any clues how to get it changed on the phone

    ive changed my email on itunes and apple and att but my app store still shows my old id so it doesnt recognize me to add new apps...any clues how to get it changed on the phone

    Firstly, you need to change your details with Apple,  Start here, change your country if necessary and go to manage your account. You may have already done this.
    In order to change your Apple ID or password for your iCloud account on your iOS device, you need to delete the account from your iOS device first, then add it back using your updated details. (Settings > iCloud, scroll down and hit "Delete Account")
    Providing you are simply updating your existing details and not changing to another account, when you delete your account, all the data that is synced with iCloud will also be deleted from the device (but not from iCloud), but will be synced back to your device when you login again.
    In order to change your Apple ID or password for your iCloud account on your computer, you need to sign out of the account from your computer first, then sign back in using your updated details. (System Preferences > iCloud, click the sign out button)
    In order to change your Apple ID or password for your iTunes account on your iOS device, you need to sign out from your iOS device first, then sign back in using your updated details. (Settings > iTunes & App store, scroll down and tap your ID)
    If you are using iMessages or FaceTime, you will also need to log out and into your ID there too.

  • HT1725 Hi, I'm pretty new to itunes. I bought a song and it downloaded, but will only play the first 3 seconds? Any idea how I get it to play the rest of the tune?

    Hi, I'm pretty new to itunes. I bought a song and it downloaded, but will only play the first 3 seconds? Any idea how I get it to play the rest of the tune?

    I'd report the problem to the iTunes Store.
    Log in to the Store. Click on "Account" in your Quick Links. When you're in your Account information screen, go down to Purchase History and click "See all".
    Find the item that is not playing properly. If you can't see "Report a Problem" next to the entry, click the "Report a problem" button. Now click the "Report a Problem" link next to the item.
    (Not entirely sure what happens after you click that link, but fingers crossed it should be relatively straightforward.)

  • How to get an XMLBean off the jms queue

              Hello all,
              I think I can post an XMLBean to a JMS queue, but how to I read it off the JSM
              queue from within a MDB?
              When I cast the message from the onMessage(Message msg) event to my XMLBEan, I
              get a class cast exception.
              I want to post some form data to a MDB to kick off some processes.
              Here is the code that generates the XML bean and posts it to my jms :
              VCALENDARDocument vcaldoc = VCALENDARDocument.Factory.newInstance();
              VCALENDAR vcalendar = vcaldoc.addNewVCALENDAR();
              VEVENT vevent = vcalendar.addNewVevent();
              vcalendar.setProdid(form.getProdid());
              vcalendar.setVersion(form.getVersion());
              vevent.setDtstart(form.getDtstart());
              vevent.setDtend(form.getDtend());
              vevent.setSummary(form.getSummary());
              vevent.setOrganizer(form.getOrganizer());
              appointmentCtrl.sendAppointmentRequest(vcalendar, "12345");
              Here the code in the JMS Control:
              public interface AppointmentCtrl extends JMSControl,com.bea.control.ControlExtension
              * @jc:jms-property key="accountIdentifier" value="{accountID}"
              * @jc:jms-property key="transactionType" value="NOT SUPPORTED"
              public void sendAppointmentRequest(VCALENDAR vcalendar, String accountID);
              static final long serialVersionUID = 1L;
              Here is how I am trying to read it off the queue in my MDB:
              public void onMessage(Message msg)
              VCALENDAR vcalendar = (VCALENDAR)msg;
              System.out.println("Message received");
              System.out.println(vcalendar.getProdid());
              Here the error that i get:
              <Apr 10, 2004 2:02:16 AM CDT> <Warning> <EJB> <BEA-010065> <MessageDrivenBean
              th
              rew an Exception in onMessage(). The exception was:
              java.lang.ClassCastException.
              java.lang.ClassCastException
              at mdb.AppointmentEJB.onMessage(AppointmentEJB.java:24)
              at weblogic.ejb20.internal.MDListener.execute(MDListener.java:382)
              at weblogic.ejb20.internal.MDListener.transactionalOnMessage(MDListener.
              java:316)
              at weblogic.ejb20.internal.MDListener.onMessage(MDListener.java:281)
              at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:2596)
              at weblogic.jms.client.JMSSession.execute(JMSSession.java:2516)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
              >
              <Apr 10, 2004 2:02:16 AM CDT> <Warning> <EJB> <BEA-010065> <MessageDrivenBean
              th
              rew an Exception in onMessage(). The exception was:
              java.lang.ClassCastException.
              java.lang.ClassCastException
              at mdb.AppointmentEJB.onMessage(AppointmentEJB.java:24)
              at weblogic.ejb20.internal.MDListener.execute(MDListener.java:382)
              at weblogic.ejb20.internal.MDListener.transactionalOnMessage(MDListener.
              java:316)
              at weblogic.ejb20.internal.MDListener.onMessage(MDListener.java:281)
              at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:2596)
              at weblogic.jms.client.JMSSession.execute(JMSSession.java:2516)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
              >
              Any ideas what it should look like?
              Thanks,
              Marc
              

    Hi trevenator, 
    If you are having issues with an iPod touch directing you to connect to iTunes, you may find the following article helpful:
    If you can't update or restore your iPhone, iPad, or iPod touch
    Regards,
    - Brenden

  • How to get a question in the course placed anywhere in the course and does not appear in the quiz result or total number of questions. Pretest would work except it can't go anywhere in the course (at least for me it can't)

    How to get a question in the course placed anywhere in the course and does not appear in the quiz result or total number of questions. Pretest would work except it can't go anywhere in the course (at least for me it can't)

    Use a normal question, and do not add the score to the total score. That will give you a correct score at the end. But the total number of questions, that system variable will still take into account all questions. You'll need a user variable, and calculate its value by subtracting 1 from the system variable cpQuizInfoTotalQuestionsPerProject. Same for the progress indicator if you want to show it?
    Customized Progress Indicator - Captivate blog
    If you want to allow Review, you'll have to tweak as well. You didn't specify the version, and all those questions I now mentioned.
    And my approach, since you talk about only one question: create a custom question, because you'll have total control then.

  • HT4889 Replacing System hard drive with a new one. How to get everything over to the new boot drive?

    Replacing System hard drive with a new one. How to get everything over to the new boot drive? Should I use Carbon Copy or does apple have a better untility to do this?
    I can't get my current system drive (OSX 10.8.3) to start on the first try. I always have to shut down and restart again to finally see the Apple logo.
    Have used disc utility to repair the disc and permissions several times and that works. The next time I boot up, it works fine and I get the apple logo, but then the second time I boot up, it's back to the blank screen again and it only boots after the second try.  I have tried this repair three different times now always with the same result. Works right the first try (after the repair) then from the second time on it doesn't work. I just get the white screen until I reboot a second time.
    Thinking I should change drives but what's the easist and best way to move everything over to the new drive so it will boot correctly with all my data on it. This is the system drive for a Pro Tools 10HD setup. MacPro 3,1 with 16 gigs ram and OSX10.8.3 on it.
    Thanks for any help!

    If you have a time machine back up of your current drive you can do this
    Shut down your computer, install the new drive. While the computer is off plug in the external hard drive that you have your time machine back up on. Hold Option key while the computer turnes on, let go of the option key once you get a grey screen. Shortly after you'll see  a list of bootable drives, select the one that has your time machine back up on it and boot into that drive.
    From there go into disk utility, format your new drive too, osx extended journaled ( I think, double check that, its been awhile since ive had to do this), hit format
    Exit disk utility and then you can use time machine to copy all your exisit data to the new hhd and then your pretty much done.
    There is also a program called Carbon Cloner that will do esentially the same thing however I've never uesed it.

  • I'm a MB Pro beginner (after 25 years with PC). I have an Iomega ext HD, but how do get it indexed. I'm trying searches in Finder, and it says "searching Iomega drive" - but I don't think it's indexing. How do I force it to index?

    I'm a MB Pro beginner (after 25 years with PC). I have an Iomega ext HD, but how do get it indexed?, and it doesn't come up with any results I'm trying searches in Finder, and it says "searching Iomega drive" - but I don't think it's indexing. How do I force it to index?

    Well I'm leaning the other way. I think my present MBP will be the last Apple product I buy.
    With the way Apple is going, all New Mac computers are sealed unit that don't allow the user to upgrade them in any way. They are getting more expensive initially. They are impossible to fix, even by Apple. All the parts are either soldered to the Logic Board or glued inside the case parts. The add on warranty only covers manufacturing defects and is expensive. And to fix one out of waranty is close to if not more then a new system.
    The only thing different in a Mac, and most other products Apple sells, is the operating system and the cases they come in. As for the OS both have their glitches and at this time there are no viruses that infect OS X. There is more software available for Windows. More choices as to what hardware you can use or upgrade to at a later date.
    Mac computers are becoming large iPads or iPhones with built in keyboards.
    jeremy_from_rome wrote:
    And as for the question: PC or Mac, the consensus that I hear from colleagues and friends is just as you state it: stay with Mac, be patient, work at it, and you’ll never look back! Thanks again

  • How to Get a Version of the ME

    I purchase package Adobe CS5, but Can not write in Arabic when in use photoshop or and others like .Illustrator ,Dreamweaver ,InDesign
    What is the solution?
    How to Make package Adobe CS5 write Arabic
    " How to Get a Version of the ME"

    Do you want to use an Arabic typeface in PS, or have the PS interface in Arabic?

  • How to get a snapshot of the first frame inside application.onPublish?

    Hi there!
    application.onPublish = function (client, p_stream)
        //How to get a snapshot of the first frame and save it to a specified directory?
        //Or post the snapshot image to a specified URI for restoring?
    Anyone knows how to do this ?
    Regards!

    This can be accomplished 2 ways that i know of ffmpeg and PHP with the php way flash takes a snapshot of the videoframe and then sends it PHP to be saved as a jpeg....with the ffmpeg way you simply batch process the entire directory holding the flv wich is external to flash although this can also be automated using PHP........I can send you a package containing both methods but installation will be up to you.............unless you wanted to pay me to help. I'm busy and can't do probono work right now.

  • How to get a copy of the receipt Ipad 16GB 3G?

    How to get a copy of the receipt Ipad 16GB 3G which was bought of the apple store on 767 Fifth Ave New York ?

    I want to send a message, but I do not know who and where.
    Ipad 2 purchased on Fifth Avenue in New York, on the first day of sales.

  • Restored my 4S. How to get pictures back from the cloud?

    Background: I had a 3GS and on launchday of the 4S I picked one up. A white 32GB on AT&T to be exact.
    I had been having some issues with the battery, so today I figured I'd try and start fresh. Well, I backed up everything on the cloud, and I also backed up everything onto the computer in iTunes when I did the restore.
    I've got my music back. Cool.
    I've got my apps back. Great.
    I can't seem to figure out how to get my photos from the camera roll back. Nor do I know how or if it is even possible to get the photos and my old text messages back on this new restore. Also, none of my mail is coming back either.
    I can see my most recent backup in the iphone settings under iCloud. And I can also see my most recent computer backup on the computer. But I'm not sure what I need to do.
    Any help would be great. Thanks.

    OK - understood.
    There are a couple of ways of going about this. First, my recommended method:
    Restore from a backup (so your photos, SMS etc are on the phone
    Connect to iTunes
    Set the phone to sync photos to a relevant app on your desktop (what app depends whether you're Windows or Mac) - this gets your pics onto the desktop and safe.
    If you want to save SMS, use PhoneView (Mac) or TouchCopy (Windows) or similar to copy them off the phone
    Restore the phone as a new device
    Get the photos back the way you got music etc back - via iTunes sync
    The second method entails using one of the utuilities around the place that can extract from the backup - I have no experience with them, so I don't know how well they work. That's why I go for the first method - simpler, more robust.
    By the way, I came across this other method for SMS:
    http://hints.macworld.com/article.php?story=20090624022758268
    Hope this helps

  • I can't download songs from itunes directly to my iphone. I'm getting credit removed from account but all i get is 'waiting' beside the download song.

    I can't download songs from itunes directly to my iphone. I'm getting credit removed from account but all i get is 'waiting' beside the download song.

    Sorry I somehow managed to click the wrong thing and made a silly mistake, as I had hoped.
    Can a moderator please remove this thread as I have resolved my problem.
    Kind regards,
    Ryan.

  • How to get actionOverride value in the URL in page Flow

    Hi All,
    I have main page Flow , under main page flow there are 2 sub folders.When i navigate
    between the page flow the URL I can see is like http://localhost:7501/myWEB/actportal.portal?_nfpb=true&portlet_2_1_actionOverride=/content/account/getAccount
    Can any body tell me how to get the value 'portlet_2_1' that we see in the URL.
    What is the API to get this value.
    Thanks & Regards,
    Hitesh C.

    u can try in JSP:
    DesktopPresentationContext dpCtx = DesktopPresentationContext.getDesktopPresentationContext(request);
    BookPresentationContext bpCtx= dpCtx.getBookPresentationContext();
    ArrayList al = bpCtx.getPagePresentationContexts();
    for(int i=o; i<al.size(); i++) {
    PagePresentationContext ppCtx = (PagePresentationContext )al.get(i);
    List windowCtxList = ppCtx.getWindowPresentationContexts();
    for(int j=0; j<windowCtxList.size(); j++) {
    WindowPresentationContext wpCtx = (WindowPresentationContext)windowCtxList.get(j);
    wpCtx.getLabel();
    "Hitesh" <[email protected]> wrote:
    >
    Joe,
    Thx a lot .
    I got the instance ID for the current portlet with API
    com.bea.netuix.servlets.controls.portlet.PortletPresentationContext.getPortletPresentationContext(request).getInstanceLabel();
    But how to get instance label for other Portlet ? any idea..........
    Thanks ,
    Hitesh
    "Joe" <[email protected]> wrote:
    It is a portlet's instance name. You can see it in the .portal screen
    as a property.
    This is added for portlet scoping. The instance name you might get from
    a
    backing (did not find it yet) or soeme fancy request attribute eventually.
    "Hitesh" <[email protected]> wrote:
    Hi All,
    I have main page Flow , under main page flow there are 2 sub folders.When
    i navigate
    between the page flow the URL I can see is like http://localhost:7501/myWEB/actportal.portal?_nfpb=true&portlet_2_1_actionOverride=/content/account/getAccount
    Can any body tell me how to get the value 'portlet_2_1' that we see
    in the URL.
    What is the API to get this value.
    Thanks & Regards,
    Hitesh C.

  • HOW points get you privileges within the community

    1. Create an account.
    2. Receive welcome email: "Welcome to Apple Support Communities! ... "Participate: Check out the community by reading existing discussions and see what the latest buzz is about. Got answers? Post responses, enlighten the community, and earn points! See how points get you privileges within the community."
    3. Go to link to see how points get you privileges.
    4. Read what points are...
    OK, so it explains how to get points and that they give you privileges, but no mention of how points get you privileges or link to that information. Not that I really care, but pointing it out. Is it just another "status" in our communities for people to feel good about [authoratative, look at me], or does it really provide something worthwhile relative to being helpful and providing Apple's support for them?

    Refer to ... 'More like this', this page, right hand column, bottom entry ... 'What's the benefit of accruing points in Apple communities'
    Carolyn Samit's excellent answer details all the levels and the justification for taking part in community discussions.
    Personally, simply scouting around the different sections is an education in itself and I would heartily recommend you to take an interest.

Maybe you are looking for