Get VM owner r on behalf of owner from vcac for requested VM (using vco).

I am trying to get the VM owner from vcac for pre-provisioning purposes.  I cannot find it in properties of the VM. 
Can someone point me in the right direction?
I'm passing the VCAC:Entity, VCAC:VirtualMachine, The VCAC VM Propertys as an array into my flow.  The owner is eluding me.
Thanks!

Anyone know how to change the __Legacy.Workflow.User property?
setting either or both __Legacy.Workflow.User __Legacy.Workflow.ImpersonatingUser has no effect
Using vCO SDK to request catalog item.
                string attributes;
                attributes = "TotalStorageSize,string," + storage;
                attributes += ",DNSServer,string," + domainController;
                attributes += ",DNSZone,string," + domain;
                attributes += ",ServerDomain,string," + domainPrefix;
                attributes += ",ServerHostName,string," + hostName;
                attributes += ",ServerType,string," + serverType;
                attributes += ",isDMZ,string," + isDMZ;
                attributes += ",AdMachineCleanupDomain,string," + domainController;
                attributes += ",VirtualMachineCPUCount,string," + cpuCount;
                attributes += ",disks,string," + disks;
                attributes += ",VirtualMachineMemorySize,string," + memory;
                attributes += ",VirtualMachineNetwork0ProfileName,string," + vlan;
                attributes += ",__request_reason,string," + __request_reason;
                attributes += ",provisioningGroupId,string," + PRE_provisioningGroupId;
                attributes += ",item,vCACCAFE:CatalogItem," + dunes_blueprintURI;
                attributes += ",requestor,string," + requestor;
                WorkflowToken wfToken = new WorkflowToken();
                wfToken = vCO.ExecuteWorkflow("33295b30-24e5-4938-be99-7168ac0ca05c", vCACAdminUser, vCACAdminPW, attributes);
In the workflow I am setting
var jsRequestor = { name: "provider-__Legacy.Workflow.ImpersonatingUser", value: requestor};
param.push(jsRequestor);
var jsRequestor2 = { name: "provider-__Legacy.Workflow.User", value: requestor};
param.push(jsRequestor2);

Similar Messages

  • Why can't I get my printer to print out a playlist from i-tunes? It used to work but now my printer doesn't seem to receive the "print" command.

    Why can't I get my printer to print out a playlist from i-tunes? It used to work, but now the printer doesn't seem to recognize the "print" command coming from i-tunes. The printer works for other applications!

    I  finally solved this problem after toiling with it for a couple of  days.  Solution:  Once you have  burned your CD you must go back into  iTunes to your music/playlists and select the playlist you just burned  and click file; print and you will  get the mosaics that we have been  accustomed to.  I was on hold with  Apple Support when I found this  myself.  Yes......!!! Problem solved..for me anyway.  Good luck!
    Scott

  • Get value from fields for list items using CSOM SP 2013 and C#

    Hi.
    I added a few columns (e.c. Column1, Column2 and ...) for the List in SP 2013. In the List there are a few records. How to get data entry and display them in a table. For example:
    ClientContext ctx = new ClientContext(ServerUrl);
    List lists = ctx.Web.Lists.GetByTitle(List_name);
    ListItemCollection items = lists.GetItems(CamlQuery.CreateAllItemsQuery());
    ctx.Load(lists);
    ctx.Load(items);
    ctx.ExecuteQuery();
    DataTable table = new DataTable();
    table.Columns.Add("ID");
    table.Columns.Add("FieldValue1");
    table.Columns.Add("FieldValue2");
    foreach (ListItem item in items)
    table.Rows.Add(item.ID, item["Column1"], item["Column2"]);
    Thanks!

    Hi,
    Thanks for your sharing. It will help others who stuck with the similiar issue.
    Best Regards
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • How to get the owner name for the file in ftp using abap ?

    Hi folks ,
    How to get the owner name for the file in ftp using abap ? please help me very ugernt . I tried with all standard FTP commands
    but doest work out me . Helping in this regard highly appreciated ...
    Thanks and regards,
    Swarupa Vanarchi

    Hi
    dont you  have used the os user while calling the FTP_CONNECT FM?
    Hope you are not talking about the user executing the FTP program.
    Else If you are talking about the FTP file creator then its not related to abap as you can handle it by maintaining the user in file name itself.
    May be i am going too far with if and elses here as your question possesses no  clarity.
    Plz elaborate your requirement  before anybody can help.
    Regards
    sateesh

  • How to get the owner sid of a file in Mac 10.7?

    How can i get the owner sid and owner names of files in Macbook?
    I am running an application through wine emulator and need to get the owner sid and owner names of files.

    Your question doesn't make sense.
    First off, if you are going to get the attributes of a file, you need its full name before you can do anything. So that's part one taken care of.
    This function returns a dictionary full of typical file information (type, size, mod dates, etc.) as well as some HFS data (creator code, type code) which, I strongly suspect, are not "pulled out of the file" but rather generated on the spot. (See NSFileManager for the full list of attribute keys.)
    The other items you hoped of retrieving are not part of the regular file system. Sure, a Truetype font has a copyright string and a version, but what about an HTML file? A PNG? A text file you just created?
    There simply are no standard functions to retrieve copyright and version.

  • Found an locked iphone5c, how can i get the owners info, email or anything if he/she only says "pls. bring back my phone.. godbless" on the activation menu??

    found an locked iphone5c, how can i get the owners info, email or anything if he/she only says "pls. bring back my phone.. godbless" on the activation menu??

    Try using Siri and ask "Who's phone is this?" It should give you the name, number, and email address of the owner. Also, you can try swiping to unlock, select Emergency, then see if they have a Medical ID set up. If they do, they may have the name of a contact with a phone number listed.

  • I bought 2nd hand iPhone and was linked with previous owner. I want to contact him but i didn't get any address of him. How can iget his/her email address using that iphone IMEI or you know any idea... Please reply if you know solution .....

    I bought 2nd hand iPhone and was linked with previous owner. I want to contact him but i didn't get any address of him. How can iget his/her email address using that iphone IMEI or you know any idea... Please reply if you know solution .....

    There is no solution here and you should already have known this as you replied to a thread all about this a few up from your own post and this stated the postition quite clearly and the question was answered.
    Why do you ask the same question again?  The first answer is not going to change just because you don't like it!!

  • If you bought a used ipod and activation icloud is locked and can not get the owner how do you fix the ipod

    If you bought a used ipod and activation icloud is locked and can not get the owner how do you fix the ipod

    Hi Blands02!
    Here is an article that will help you troubleshoot this issue:
    Find My iPhone Activation Lock: Removing a device from a previous owner’s account
    http://support.apple.com/kb/ts4515
    Thanks for being a part of the Apple Support Communities!
    Cheers,
    Braden

  • HT201441 I don't have owner's phone number, how to get  previous owner's Apple ID(email address) and send him a email let him remove the device from the account.

    I don't have owner's phone number, how to get  previous owner's Apple ID(email address) and send him a email let him remove the device from the account

    There is no way for anyone on this forum to assist you.  Apple will also not assist you.  If you purchased the device thru ebay, file a claim.  If you purchased it some other way, I'm sorry.  there is nothing anyone can do to help you.

  • Get lock owner

    I have the need to know user AND mode wise, if I have a lock over the data and if I'm the owner of the lock (i.e. the one that called ENQUEUE successfully).
    I already did solve this partially using f.m. ENQUEUE_READ. But as you know, when using exclusive lock mode (types E or X), if you request a new lock even with your own user but in a different mode, you get the same FOREIGN_LOCK exception as if you were another user.
    So, using ENQUEUE_READ alone is not enough, because even if my user is in the lock table, it doesn't necesarily mean I have the data locked in THAT mode / session.
    What I did is to compare the fields GTHOST and GTWP returned by ENQUEUE_READ, to the output of funcion module TH_GET_OWN_WP_NO (WP_NO + SY-HOST).
    So I'm comparing the workprocesses. But I'm not sure if this will always work, because I understand workprocesses are taken and released constantly (for example when user input is required). So I'm afraid at certain points in time the workprocess I'm in will not necessarily be the one on which the ENQUEUE was requested.
    Are there any other ways to do this? The obvious answer is to retry an ENQUEUE and use E mode (if I'm in the owner mode, it won't fail, just incrementing the counter, so I can do a DEQUEUE right away to leave it as before), but I prefer to avoid this option.
    Thanks!
    PS: I'm using SCOPE = 1 to have control over DEQUEUEs.
    EDIT: a third alternative (which I like even less since it encapsulates an internal system call):
        PERFORM get_c_owner IN PROGRAM saplsena IF FOUND CHANGING user usvb .
    Please post if you know others!

    Jelena, I'm asking for the cleanest way possible to know if the current user is the lock owner in the current mode.
    I'll be doing the ENQUEUE when the user enters my transaction. The first user would succeed, while if some users enter after a while, they wouldn't (because the first one is still inside). Later in time, I want to know if the current user / mode is the one holding the lock, so I can allow some processing. This way of locking avoids the recurrent problem of having to read the same data again when the lock is set from inside the transaction, because it may have changed from the moment it was read (yes, the drawback is that you have to exit and reenter to retry the lock. But this is the behaviour requested).
    For this, ENQUEUE_READ is not enough by itself. It just returns the username and the owner keys, which I find no clean function module to get for the current mode, in order to compare.
    So, the options I found were:
    1) Compare workprocesses using TH_GET_OWN_WP_NO (discarded because of the reason above, I'm afraid workprocess may be swapped with another)
    2) ENQUEUE initially in mode E, then retry a second mode E ENQUEUE. The owner won't fail, the others will. This option I'm using so far.
    3) "PERFORM get_c_owner IN PROGRAM saplsena" returns the owners in the current mode, which can be compared to the ENQUEUE_READ output. But this is not exposed by any general purpose function module or method (at least I found none). There's plenty of standard code which doesn't even do the external perform but just the direct system call (CALL 'C_ENQUEUE' ID 'OPCODE' FIELD '7'..), which is a no-no in custom programs.
    So, my question is if you know a cleaner way to achieve this. I think there isn't, but hoped anyone knows better.
    Regards
    For you to get an idea, the function module ENQ_OWNER_GET is the closest to what I want. But it uses an irrelevant lock object first, and also returns only one of the two possible owners (ENQKEY missing). It's not a general purpose module.
    Message was edited by: Alejandro Bindi

  • Phone I purchAsed was reported stolen I was able to get the owner to give me the info to enter the phone it's constantly blocking my SIM card

    Phone I purchAsed was reported stolen I was able to get the owner to give me the info to enter the phone it's constantly blocking my SIM card

    There are several actions that the owner needs to do
    What to do before selling or giving away your iPhone, iPad, or iPod touch - Apple Support
    Report a lost or stolen Apple product - Apple Support

  • How to restrict a schema owner from granting privileges to other users.

    How can we restrict a schema owner from granting privileges to other users on his objects (e.g. tables). Lets say we have user called XYZ and he has tables in his schema TAB1, TAB2 an TAB3. How can we restrict user XYZ from granting privileges on TAB1, TAB2 and TAB3 to other users in the database. Is it possible in Oracle 10g R2? Any indirect or direct way to achieve this? Please help on this.
    Thanks,
    Manohar

    Whenever someone is trying to prevent an object owner from doing something, that's generally a sign of a deeper problem. In a production database, the object owner shouldn't generally have CREATE SESSION privileges, so the user shouldn't be able to log in, which would prevent the user from issuing any grants.
    As a general rule, you cannot stop an object owner from granting privileges on the objects it owns. You can work around this by creating a database-level DDL trigger that throws an exception if the user issuing the statement is XYZ and the DDL is a GRANT. But long term, you probably want to get to the root of the problem.
    Justin
    Edited by: Justin Cave on Nov 6, 2008 9:52 PM
    Enrique beat me to it.

  • Extract group owners from group

    How can you extract group owners from a group? ver. 3.0.9.8.5. I want to do two things; extract all groups that a user is the owner of, and find all the owners of a group.
    The code below will extract out all the users of a group, but how do you get the owners? I can't figure out where the group owner flag is being set. There are two deprecated functions (get_list_members, user_in_group), which I've used and is extra coding than what's necessary, but we're also migrating to version 2 soon.
    Thanks,
    Rick
    SELECT b.name,
    a.user_name,
    a.last_name,
    a.first_name
    FROM portal30.wwsec_person$ a,
    portal30.wwsec_group$ b,
    portal30.wwsec_member$ c
    WHERE a.id = c.member_person_id
    AND b.name = 'my_group'

    Sorry, I got timed out and posted this to the wrong forum accidently. Is there a way to delete your own message?

  • I have bought macbook air first form other owner from few month,but after i try reinstall back lion os x..its cant reinstall back already..i try ask the owner he keep saying you need send repair..so i decide ask at here before i send to any service..

    i have bought macbook air first form other owner from few month,but after i try reinstall back lion os x..its cant reinstall back already..i try ask the owner he keep saying you need send repair..so i decide ask at here before i send to any service..

    StoneComputers wrote:
    What about the incredable lag time from clicking on a program to the time it opens (or the time till the loading screen starts)? I wish I could record it and play it so I could see if thats normal from other members... the icon just sitting there for over 35 second (I just counted 36 till the loading screen popped up) at first I thought it was me not clicking hard enought cuz the mouse button I have is real stiff (any ideas on that?) but no it takes that long just to get to the app loading screen... this happens every time same amount of time with the 3 programs I use the most, prolly more but I know for a fact world of warcraft, uTorrent, and Google Chrome. I would just chalk it up to slow hardware but they load real quick in windows 7 and once this bad spot is loaded the program runs so fast and nice afterword. Maybe some tweeks? I wonder if this would happen in Snow?
    The coment "few outdated programs" Ive seen alot its not just a few its a lot and since games are not Apple's strong point I would think they would want to keep as many as they could...
    An example of the rants you will see from a lot here. Don't be put off as these problems are generally user specific, and these same old comments come out after the release of every OSX I can remember. When Lion is upgraded  to the next OSX you can gaurentee these forums will be full of people screaming about how great Lion was. Happened with Tiger, Leopard and Snow Leopard.
    So come to think of it you may be better off Googling sites that give you unbiased views on Lion, rather than expect any positive comments here. For every one complaint there are probably 100,000 people with no issues.
    Cheers

  • Where can I find an Owner's Manual for my new MacBook Pro?

    Where can I find an Owner's Manual for my new MacBook Pro?

    You should have gotten one w/your new MBP.  If not, check out Apple - Support - Manuals & download the one for your model MBP.

Maybe you are looking for