IOM 11 GR 2 Exchange PostCreate action scripts and put an end to the user

Hi all

I have the following requirement

1. I need to call a powershell script of IOM, once I created the user.
I have the script on my server connector, where the exchange management tools are installed. And I am able to run the powershell script.

I also wrapped the powershell in a bat placed on the connectr server file
@pushd "c:\myscripts".
PrimarySmtpAddress % PowerShell.\PostUserCreation.ps1
@popd

And in my configuration of exchange, I have the following

After the Action create a file c:\postcreateuser.bat
After you create the Action command language
Create after Action target connector

When I try to create a user, it gives me an error invalid action

There is error in the documentation.
You should install "Shell" instead of "cmd" in the language settings.
And the script file must be placed in the server of the IOM, not the connector.

Tags: Fusion Middleware

Similar Questions

  • Advanced actions do NOT appear to work ONCE the user fills in a questionnaire?

    Advanced actions do NOT appear to work ONCE the user fills in a questionnaire?

    In my project, I have disabled the Quiz results slide and manually set the actions of success/failure to "go to" a customized results slide:

    pass-fail.png

    On results carts custom pass/fail (as well as all the slides that follow), I need to disable the playback bar so that the user cannot use the navigation controls. I have created a tip action to disable the playback bar and set it on every slide that follows the Quiz:

    showPlaybar.png

    The tip action fails to disable the playback on my personal results slides bar; but I know that the action does not work correctly because it works on all the slides that follow my personal results slides. This leads me to believe that there is something about the function "go to" success/failure that is causing my Advanced action not to function. Is there a work around for this?

    Just checked out, and it works for me. I combined the jump and turn off the bar reading a success and failure action:

    SuccessAction

    • Jump to drag the success
    • Assign the cpCmndShowPlaybar with 0

    FailureAction

    • Jump to slide fail
    • Assign the cpCmndShowPlaybar with 0

    Why you split? He was not even the need to create an advanced action.

  • need to update the date of the end of the user using the API of the IOM

    We have a requirement where we need to update the date of the end of the user. The details of the user as usr_key, number of days to extend (such as 30 days or 60 days), and affects manager is provided by SOA (maybe by BPEL). In the java class, I need to add the number of days of the closing date of the user and then update the table of the usr by IOM API method - usrMap.put ("USR_END_DATE", updatedEndDate);

    I wrote a small program, but it has erros. Please help me in this situation.
    ' public boolean updateEnddate (String usrKey, String managerKey, String NombreJours) {}
    Boolean result = false;
    String NombreJours;
    int totalNumUsers = 0;
    HashMap usrMap = new HashMap();
    usrMap.put ("Users.Key", usrKey);
    usrMap.put ("USR_MANAGER_KEY", managerKey);
    try {}
    DateFormat sdfSource = new SimpleDateFormat("yyyy-MM-dd");
    Date date = sdfSource.parse("USR_END_DATE");
    SimpleDateFormat sdfDestination = new SimpleDateFormat("dd-MMM-yyyy");
    String userEndDate = sdfDestination.format (date);
    tcResultSet = this.usrIntf.findUsers (usrMap) users;
    totalNumUsers = usersList.getRowCount ();
    If (totalNumUsers > 0)
    for (int i = 0; i < totalNumUsers; i ++) {}
    usersList.goToRow (i);
    updatedEndDate = userEndDate + NombreJours;
    usrMap.put ("USR_END_DATE", updatedEndDate);
    this.usrIntf.updateUser (users, usrMap);
    result = true;
    }
    on the other
    result = true;
    }




    Thank you
    Kalpana.

    Calculate the new date

    /**
    * This method is used to obtain the new date after adding x-days
    @param strDate - date today
    @param daysToAdd - x-days
    * @return Nouvelle_date - date after the addition of x days
    */
    private String incrementDate (Date strDate, int daysToAdd) {}
    Start date
    Logger.info("NotifyLastDayOfService::incrementDate(): entrez»);
    SimpleDateFormat sdf = new SimpleDateFormat ("yyyy-MM-DD 00:00:00");
    Dim str As String = sdf.format (strDate);
    Calendar c = Calendar.GetInstance ();
    try {}
    c.setTime (sdf.parse (str));
    } catch (ParseException exception) e {}
    e.printStackTrace ();
    }
    c.Add (Calendar.DATE, daysToAdd); number of days to add
    String PROMOTIONDate = sdf.format (c.getTime ());
    System.out.println ("calculated End Date:" + PROMOTIONDate);
    Logger.info("NotifyLastDayOfService::incrementDate(): sortie»);
    return Nouvelle_date;
    }

    This should solve your problem :)

  • Action Script to prevent playback SWF on the page reload?

    is - anyone can help a poor starting ol ' with this one?

    using action script 1 and 2

    I would avoid my banner flash navigation through the entire animation when someone loads secondary pages.

    framework is at http://www.getrmoreimpact.com/index.php for the moment. Basically, you want the flash to NOT read back (while now the flashy keys) when the secondary pages are loaded...

    Should it be done at the height of the button, or to the next level?

    Thanks in advance.

    -BN

    One option is to create a secondary banner for your secondary pages, which has no animations.

  • Is it possible to add a hard drive to a VM running via a script or a program without using the user interface

    I'll try to ask this question clearly, but I ask that read you it carefully, because I can't do a great job of setting out clearly what I'm looking for.

    I know how to create a virtual disk in a batch file or a script.  I know how to have a running virtual machine to detect a newly added hard drive and format it in Linux, BACK, and NetWare. I do not have scripted this part, but I did it manually by adding records via the UI and then by doing the steps manually to make the operating system to detect and format the newly added drive. In each case, these steps are scriptable with the exception of the addition of the drive in the user interface.

    The only way I know to add a new hard disk to a virtual computer running is through the user interface. I don't know in a way that can contain script (for example vmrun or an API call) to make.

    I guess that maybe I can have the virtual machine to go into sleep mode and then add the HDD in the vmx file while the machine is in standby mode, then put the computer to sleep mode, although I have not tested this.

    My question is, ' can a virtual drive be added to a virtual machine running without using the user interface and without put the machine to sleep, or in other words in a script any?

    Have you tried VI SDK?

  • New action script and get: TypeError: Error #1009: cannot access a property or method of a nude

    I get this message in the tab out to the buttons that I am creating.  Here is the code:

    import flash.events.MouseEvent;

    Stop();

    function goHome(myEvent:MouseEvent):void {}
    gotoAndStop ("home");
    SoundMixer.stopAll ();
    }
    function goAbout(myEvent:MouseEvent):void {}
    gotoAndStop ("about");
    SoundMixer.stopAll ();
    }
    function goBusiness(myEvent:MouseEvent):void {}
    gotoAndStop ("business");
    SoundMixer.stopAll ();
    }
    function goContact(myEvent:MouseEvent):void {}
    gotoAndStop ("contact");
    SoundMixer.stopAll ();
    }
    function goArchives(myEvent:MouseEvent):void {}
    gotoAndStop ("archives");
    SoundMixer.stopAll ();
    }
    function goBioTech(myEvent:MouseEvent):void {}
    gotoAndStop ("bioTech");
    SoundMixer.stopAll ();

    }
    function goRealEstate(myEvent:MouseEvent):void {}
    gotoAndStop ("realEstate");
    SoundMixer.stopAll ();
    }
    function goTechnology(myEvent:MouseEvent):void {}
    gotoAndStop ("technology");
    SoundMixer.stopAll ();
    }
    function goEnergy(myEvent:MouseEvent):void {}
    gotoAndStop ("energy");
    SoundMixer.stopAll ();
    }

    home_btn.addEventListener (MouseEvent.CLICK, goHome);
    about_btn.addEventListener (MouseEvent.CLICK, goAbout);
    business_btn.addEventListener (MouseEvent.CLICK, goBusiness);
    contact_btn.addEventListener (MouseEvent.CLICK, goContact);
    archives_btn.addEventListener (MouseEvent.CLICK, goArchives);
    bioTech_btn.addEventListener (MouseEvent.CLICK, goBioTech);
    realEstate_btn.addEventListener (MouseEvent.CLICK, goRealEstate);
    technology_btn.addEventListener (MouseEvent.CLICK, goTechnology);
    energy_btn.addEventListener (MouseEvent.CLICK, goEnergy);

    I ran the debugger and got this:

    TypeError: Error #1009: cannot access a property or method of a null object reference.
    at peakInsights_fla::MainTimeline/frame1() [peakInsights_fla. MainTimeline::frame1:48]

    I guess it tells me that there is a problem with the line 48, but what?

    Home, about, company, contact, archives button works. On the business page, there's the biotech buttons left, technology, real estate and energy. When I test it. I get the finger, but the buttons do not work. This is my first flash site I'am so new, new.

    for each button (for example btn1), the image you want is more appear, add a keyframe to this image and attach code like:

    removeChild (btn1);  then return to the frame where you want it to appear use addChild (btn1);

    or

    Btn1. Visible = false;  then back to the frame where you want it to appear use btn1.visible = true;

  • I need help on the matrix of action script 3.0

    I need help on the matrix of action script 3.0

    [Ask in the correct forum allows... Left non-technical Forum Lounge for forum specific program... MOD]

    to apply a matrix for mc mat oppose:

    var mat: Matrix = new Matrix;

    mat.a = Whatever;

    mat.b =

    mat.c =

    mat.d =

    mast. TX =

    mat.Ty =

    MC. Transform.Matrix = Matt;

  • Action scripts when the PDF opens in the browser

    I may be in the wrong forum or can answer this question already

    I think that the answer will be no. but thought I would ask

    I use Adobe Pro and our institution as a whole has a license for Adobe Pro

    I wrote a script of Action that retrieves certain pages of a document package, some of them emails, records some of them and destroy them before that parts of the package that need signed are printed

    Here's my number

    We have Adobe Pro xi

    Windows 7

    THAT IS TO SAY 10

    The formula in question is generated from a browser application. All employees have the ability to go into tools - manage add-ons - and enable or disable Adobe Reader

    Mine is always disabled

    Several members of the staff have it turned on and open the document in the browser

    -so far all document javascripts I have written have worked anyway

    Action script though - I can't call when I go and activate Adobe Reader as the only elements that show to the staff's signature and comments form. The 'Tools' option is not there, and this is where my action script.

    I could force the staff to open in PDF format - but they won't be happy if I force this option

    is far from having the tools - and so my action script work if they open the PDF file in the browser?

    I guess I could try to do all the action script code in a JSButton if this is not possible, but action script allowed me to break the code into the section

    Thank you

    Acrobat/Reader install a limited Player plug-in and allows only some features that allow to interact with the file PDF is displayed in the browser for playback and recording. It does not features.

    If you need this plug-in, save the PDF file on the local system, and then open the saved PDF file.

  • stop the sound with the action script?

    Hello

    Im a beginner with action script, and is there a way to stop a sound using actionscript?

    My sound is called "CRICKET.mp3", if it is necessary to know.

    You can still use:

    SoundMixer.stopAll ();

    to stop all sounds.  but, if you want to stop a particular sound, you must apply stop() to soundchannel your sound (created when the play() method is applied to your sound).

  • Action Script 3 Question

    I have a problem, I have a flash site that I am building.  When the site loads up, it will go through the opening animation and then go to the home page (which is a clip in the clip) and when he goes to the home page continues to play this movie again and again clip animation.  I used Clipname.stop (); and Clipname.Clipname.stop (); both imagined errors saying that the Clipname is not a defined property.  So I put stop(); in action script and now the code XML does not load in the page. Here is the code for the home page:

    (The code is Scene1-> content (movieclip: frame 1)-> ContentHome (another Movieclip):)


    var xmlholder:URLLoader = new URLLoader (new URLRequest("home.xml"));

    xmlholder.addEventListener (Event.COMPLETE, onload);

    function onload(e:Event):void {}
    Feed.Text ="";
    var xml = new XML (xmlholder.data);
    for (var i: Number = 0; i < xml.story.length (); i ++) {}
    feed.appendText(xml.story[i].body+"\n\n");
    }
    }

    var xmlholderevent:URLLoader = new URLLoader (new URLRequest("events.xml"));

    xmlholderevent.addEventListener (Event.COMPLETE, onloadevent);

    function onloadevent(e:Event):void {}
    Event.Text ="";
    var xml = new XML (xmlholderevent.data);
    for (var i: Number = 0; i < xml.story.length (); i ++) {}
    event.appendText (xml.story [i].date+"/n"+xml.story [i].storyname+"/n"+xml.story[i].body+"\n\n");
    }
    }

    var xmlholderpoll:URLLoader = new URLLoader (new URLRequest("poll.xml"));

    xmlholderpoll.addEventListener (Event.COMPLETE, onloadpoll);

    function onloadpoll(e:Event):void {}
    Poll.Text ="";
    var xml = new XML (xmlholderpoll.data);
    for (var i: Number = 0; i < xml.story.length (); i ++) {}
    poll.appendText (xml.story [i].date+"/n"+xml.story [i].storyname+"/n"+xml.story[i].body+"\n\n");
    }
    }

    I need to know where to put in a stop command. For the loop ends and can load the XML file.  If anyone can help, that would be great

    put a stop() on the last frame of the timeline that repeated suburbs.

  • How can I redirect with action script?

    Cannot not find it, I used to create a button in the action script that will send me to the new URL.

    This illustrates what you want:

    
    
    
    
        
    
    
  • Action Script 3 code works does not start and stop button?

    OK so I have what I have created simple animations of a circle that moves from one side of the stage to the other. I have added a new layer and named her buttons. On this layer, I added 2 buttons. One for the beginning and another to stop. The goal is to get my circle to pass from one side of the stage to the other, but be able to use my buttons so that I can start and stop times random animations during playback. I've corrected all my faults of the compiler now the problem is that whenever I click on the start or the stop button, I get an error output. I have a 3rd layer which is called actions and that's where all my code is displayed. I removed this layer and put my code in the first frame of the layer of buttons to see if that would change anything but I still get the same errors of output. So I just added back my layer actions. What could I do it wrong? I made sure to name all of my video clips and buttons correctly and I even added an instance name for them.

    Here is my code and errors I get when I press play and stop button - test

    start_btn.addEventListener (MouseEvent.CLICK, startCircle);

    stop_btn.addEventListener (MouseEvent.CLICK, stopCircle);

    function startCircle(e:MouseEvent):void {}

    Circle.Play ();

    }

    function stopCircle(e:MouseEvent):void {}

    Circle.Stop ();

    }


    green_btn.addEventListener (MouseEvent.CLICK, greenCircle);

    red_btn.addEventListener (MouseEvent.CLICK, redCircle);

    function greenCircle(e:MouseEvent):void {}

    Circle.Play ();

    }

    function redCircle(e:MouseEvent):void {}

    Circle.Stop ();

    }

    Here's my output errors-

    TypeError: Error #1009: cannot access a property or method of a null object reference.
    at exercise2_fla::MainTimeline/redCircle()
    TypeError: Error #1009: cannot access a property or method of a null object reference.
    at exercise2_fla::MainTimeline/greenCircle()

    What timeline you want to stop?

  • IOM - understand the operations of the user - a scheduled task

    Hello

    Could someone here explain what means this task?
    The manual says:
    This scheduled task performs the operation specified by the UserOperation attribute on the user specified by the attribute UserLogin account

    Anyone here have an example scenario that this task could be useful?

    Concerning
    HH

    Pretty simple. This Scheduler is used to perform actions on the user IOM account according to a predefined schedule. This means that you can perform the actions ENABLE, DISABLE or DELETE any user of IOM. And the attribute values can be:

    UserLogin - IOM User Login
    UserOperation - ENABLE

    The scheduler run above will allow the user if the people with reduced mobility. Now the utility part. Consider the following use cases:

    (* 1) * cancelled at any user tell User001 you and that you want to disable this user and all resources provisioned at 18:00 hours once he finished all the work desktop, and if you turn off the user to the user to disable the button the user directly and all of its resources would be left immediately. So you can assign to this scheduler to run at 18:00 hours, with values User001 and DISABLE

    (* 2) * you're a Helpdesk guy / IOM and Director of IOM does not want you to have access to the item of menu users because he doesn't want you to have a look at the personal data of the user IOM but he want always that you can actually run enable - disable actions on IOM. In this case, that it will give you access to the menu item manage schedule the task so that you can perform the daily activity of the operations. It is a solution for the use case.

    Thank you

    Sunny

  • I use a hosted web site to e-mail and I can't use the features of Clipboard cut/paste? I tried to create a file user.js with script but its still does not. What can I do else?

    I have double, triple checked to the script, and I can't find the errors.
    The only thing I might be unsure of is the site I list. I tried https://www.webmail.???.com and I tried https://www.???.com. It's a secure site? Help

    Have you tried to use the keyboard instead (Cmd-C, Cmd + V and Cmd + X)?

    Maybe Shift + Insert also works well on Mac (works on Windows and Linux).

  • All files generated by a coil in sqlplus receive ownership of oracle: dba instead of the user of the BONE started sqlplus and run the script. There's a file with users owners of BONES of the coil.

    All files generated by a coil in sqlplus receive ownership of oracle: dba instead of the user of the BONE started sqlplus and run the script. There's a file with users owners of BONES of the coil.

    Script launched in until OS user 'A' on the 'A' server which launches sqlplus, then connects to a remote database through a service of tnsnames.ora as another user of the database and the results of this script are spoulées on the server "A".

    The file queued on the old server is written with rw-rw-r: read write user, group read the writing, reading and possession header that is the user of the OS. The file queued on the new server is written to rw-r-r user: reading writing, reading group, public reading and ownership oracle: dba.

    "" The user then has no privileges to modify the file and continue the process of transmitting the file, editing and deleting the file for the next set of commands. This allows us to keep the possibility to migrate to the new server we are unable to process orders.

    $ORACLE_HOME/bin/sqlplus - s user/password@prd1 @./script/CustomScript/R12_OM_UFPC-oracle.sql

    Background: old server running 4.8, Oracle 10.2.0.4 OEL

    New server running OEL 6.5, Oracle 11.2.0.4

    Tested so far:

    File and update umask to 0002 instead of 0022 is now generated as rw-r-r. However, the property is still oracle: dba.

    Update of ownershipt of $ORACLE_HOME/bin/oracle.exe of oracle: oracle (edi added the user to the oracle group) and chmod 6751 oracle.exe. This created several problems where crucial scripts, that is to say of sqlplus failed to run.

    Added! chmod 755 output.file.name - OS user 'A' is not allowed to change to mod.

    Added! command cp MV output file and that generated the file as a user of the operating system: oracle. It is a potential work around in case of emergency, but the developer would have to rewrite the countless scripts.

    Any ideas?

    I have reproduced the behavior of the old server and am able to spool a file via sqlplus under OS user. No changes have been made on the remote database server. All the changes have been on the new server hosting a small 11.2.0.4 database on a server running OEL 6.5 32 - bit OS.

    (1) removed the sticky bit $ORACLE_HOME/bin/sqlplus using chmod u-s, g-s, o - s suggestion of Billy ~ Verreynne

    (2) modified the main group for the 'oracle' user match the user operating system applications, while maintaining membership in the groups 'oracle' and 'dba '.

    -We are dealing with here EDI processes, so the Group was called edi.

    (3) modified property of the files tnsnames.ora and listener.ora for oracle: edi

    (4) restart the receiver

    (5) disconnect / reconnect

    Script runs as expected, the output file contains the correct ownership and permissions.

    Thank you all for taking a look and offering options.

    -Josh

Maybe you are looking for