Delete oimGroup membership of the oim user using Script (oim 9.1).

Hi All,
I want to remove oim users' particular oim group membership, Is there any problem, if I use the following script to delete user group information from USg table?
delete from usg where usr_key in (select usr_key from usr where usr_login in ('xxx','yyy')) and ugp_key=31
Note: In our case, No policies,membershiprules are assigned to this oim group (we defined gruops only) and env is oim 9.1.
Can any one confirm this. Or if there is nay problem, please let us know.
Thanks.
Edited by: user13285646 on Jul 28, 2011 11:01 PM

Thanks Rajiv.

Similar Messages

  • How to fix the financial table using script

    Hi All,
    How to fix the financial table using script, (for example see below table. i have fixed manually, my document having more than 50 tables)
    %, ) are hang aligned.
    $  are left aligned as like below.
    Regards,
    Velu

    Hi Velu
    The quality of your screenshot came out pretty bad
    Maybe send another higher resolution one which on a smaller part of the table and show the hidden characters

  • How to switch user from the current user using shell script code

    Hi Experts,
    I have an requirement to login into a particular user from the shell script concurrent program. I do have credentials for that particular user. I want to login and run few commands from that particular user. Please let me know if there are any methods to login as a particular user using the username, password from shell script program.
    Thanks a lot.

    Thanks for your reply. However we cannot use su command from a shell script program. How to enter password from shell script program?http://tinyurl.com/3t7cwjh
    Thanks,
    Hussein

  • Provisioning OIM user using OIM APIS

    Hi All,
    Could anyone help me out on how to provision a User using OIM APIS.
    Thanks and Regards,
    Vaasu.

    public class GetGroups {
    tcUtilityFactory utilFactory = null;
    tcSignatureMessage moSignature = null;
    tcUserOperationsIntf moUserUtility = null;
    tcResultSet userResultSet,userSet = null;
    ConfigurationClient.ComplexSetting myConfig = ConfigurationClient.getComplexSettingByPath("Discovery.CoreServer");
    final Hashtable env = myConfig.getAllSettings();
    Map v = new HashMap();
    public void UserGroups(String userid) {
    try {
    System.out.println(" I am in TRY");
    moSignature = tcCryptoUtil.sign("xelsysadm", "PrivateKey");
    utilFactory = new tcUtilityFactory(env, moSignature);
    moUserUtility =
    (tcUserOperationsIntf) utilFactory.getUtility("Thor.API.Operations.tcUserOperationsIntf");
    v.put("Users.User ID", userid);
    userSet = moUserUtility.findAllUsers(v);
    long user_key = userSet.getLongValue("Users.Key");
    System.out.println( " Group Name " + grpName );
    } catch(Exception e){
    e.getMessage();
    Like that
    moobjIntf =
    *(tcObjectOperationsIntf) utilFactory.getUtility("Thor.API.Operations.tcObjectOperationsIntf");*
    Map objmap =new HashMap(0;
    objmap.put("Objects.Name", "AD User") \\ just hardcoding this AD User you can pass it as variable also
    tcResultSet moResultSet = moobjIntf.findObjects(objmap);
    long obj_key = moResultSet.getLongValue("Objects.Key");

  • How can I get the Windows User using ABAP ?

    I need to get thru ABAP the Windows user.

    Hi Carlos,
    You can use the following FM to read the currently logged in windows user id:
    DATA: w_userid TYPE char20.
    CALL FUNCTION 'GUI_GET_DESKTOP_INFO'
         EXPORTING
              type   = '5'
         CHANGING
              return = w_userid.
    WRITE: 'Windows User ID:', w_userid.
    Hope this is what you need.
    Sumant.

  • Adding Server to cluster will make server halt (weblogic) & cannot shutdown the server by using script command

              Hi,
              When I Adding a server from the server list to the cluster , and
              click 'apply' , the weblogic server will be halted. Why could it
              happen and How can I solve this problem?
              Furthermore,I try to shutdown the server by using the command script
              - java weblogic.Admin -url http://localhost:port SHUTDOWN -username
              username -password password ( e.g. java weblogic.Admin -url http://999.99.99.99:7001
              SHUTDOWN -username system -password weblogic ), there is an error
              message "Exception in thread 'main' java.land.NoclassDefFoundError:
              weblogic/Admin" . Why?
              Chris
              

              Your CLASSPATH must include $WL_HOME/classes to startup as:
              java weblogic.Admin t3://localhost:<port> SHUTDOWN <USERNAME> <PASSWORD>
              Note here protocol is t3. Brian
              "Joe E. Schwarz" <[email protected]> wrote:
              >
              >Chris,
              >You gave probably forgotten to set your CLASSPATH to,
              >for example
              >on NT, C:\bea\wlserver6.0\lib\weblogic.jar.
              >Joe
              >
              >"Chris" <[email protected]> wrote:
              >>
              >>Hi,
              >>When I Adding a server from the server list to the cluster
              >>, and
              >>click 'apply' , the weblogic server will be halted. Why
              >>could it
              >>happen and How can I solve this problem?
              >>Furthermore,I try to shutdown the server by using the
              >>command script
              >>- java weblogic.Admin -url http://localhost:port SHUTDOWN
              >>-username
              >>username -password password ( e.g. java weblogic.Admin
              >>-url http://999.99.99.99:7001
              >>SHUTDOWN -username system -password weblogic ), there
              >>is an error
              >>message "Exception in thread 'main' java.land.NoclassDefFoundError:
              >>weblogic/Admin" . Why?
              >>
              >>
              >>Chris
              >
              

  • How to get list of users using  IN OIM

    Experts,
    Is it possible to get the list of users who have logged into OIM in past (for example last six months)? as not all people in my organization uses OIM.
    Please suggest if OIM(version 9.1.02) has any such functionality or if it is possible to get it from OIM database.
    Thanks,
    S M

    OIM will not store last logon date & time. So this is not possible. If you have access manager integrated environment, then OID will have last logon date & time. in such environment, from OID, you can get these details.

  • How to delete Duplicate records from the informatica target using mapping?

    Hi, I have a scenario like below: In my mapping I have a source, which may containg unique records or duplicate records. Source and target are different tables. I have a target in my mapping which contains duplicate records. Using Mapping I have to delete the duplicate records in the target table. Target table does not contain any surrogate key. We can use target table as a look up table, but target table cannot be used as source in the mapping. We cannot use post SQL.

    Hi All, I have multiple flat files which i need to load in a single table.I did that using indirect option at session level.But need to dig out on how to populate substring of header in name column in target table. i have two columns Id and Name. in all input file I have only one column 'id' with header like H|ABCD|Date. I need to populate target like below example. File 1                                    File2     H|ABCD|Date.                      H|EFGH|Date.1                                            42                                            5  3                                            6 Target tale: Id    Name1     ABCD2     ABCD3     ABCD4     EFGH5     EFGH6     EFGH can anyone help on what should be the logic to get this data in a table in informatica.

  • How to retrieve the current User using PL_/SQL code?

    Hi,
    How can find the current logged user within a Dynamic Page using PL/SQL code?
    Thanks.

    Hi,
    There is a function wwctx_api.get_user which returns the logged in user. You can use this in your plsql code.
    Thanks,
    Sharmila

  • Delete Partners assigned to the WBS elements using PM_PARTNER_DELETE_PARVW?

    Hi Guys,
                  Can anybody tell me how to delete the partner assigned to WBS elements using PM_PARTNER_DELETE_PARVW.
    Below is the code.but i was NOT able to DELETE the by using the BELOW CODE.
        Is there any other alternative.
       CALL FUNCTION 'PM_PARTNER_DELETE_PARVW'
       EXPORTING
         OBJNR         = 'PR00001103'
         PARNR         = '000050260281'
         PARVW         = 'ZA'
      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
       EXPORTING
         WAIT          = 'X'
       IMPORTING
         RETURN        = WA_RETURN.
      APPEND WA_RETURN TO ET_RETURN.
    Thanks,
    Gopi.

    Try below code:-
    CALL FUNCTION 'PM_PARTNER_DELETE_PARVW'
    EXPORTING
    OBJNR = 'PR00001103'
    PARVW = 'ZA'.
    Dont pass partner no.
    Enjoy SAP.
    Pankaj Singh

  • Deleting all instances of a particular composite using scripts

    Hi,
    I am trying to delete all the instances for a particular composite id in Linux. I got some reference to some script in user guide as below
    Deleting Composite Instances, Rejected Messages, and Orphaned Instances
    This procedure internally invokes the procedures for deleting composite instances, rejected messages, and orphaned instances. This procedure is convenient for deleting all composite instances, rejected messages, and orphaned instances in a single invocation.
    FABRIC.DELETE_ALL(FILTER IN INSTANCE_FILTER,
    MAX_INSTANCES IN INTEGER,
    PURGE_PARTITIONED_DATA IN BOOLEAN DEFAULT TRUE) RETURN INTEGER;
    The following example deletes composite instances, rejected messages, and orphaned instances based on the specified filter.
    DECLARE
    FILTER INSTANCE_FILTER := INSTANCE_FILTER();
    MAX_INSTANCES NUMBER;
    DELETED_INSTANCES NUMBER;
    BEGIN
    FILTER.COMPOSITE_PARTITION_NAME:='default';
    FILTER.COMPOSITE_NAME := 'OrderBookingComposite';
    FILTER.COMPOSITE_REVISION := '1.0';
    FILTER.STATE := fabric.STATE_COMPLETED_SUCCESSFULLY;
    FILTER.MIN_CREATED_DATE := to_timestamp('2009-07-01','YYYY-MM-DD');
    FILTER.MAX_CREATED_DATE := to_timestamp('2009-08-24','YYYY-MM-DD');
    MAX_INSTANCES := 100;
    DELETED_INSTANCES := FABRIC.DELETE_ALL(
    FILTER => FILTER,
    MAX_INSTANCES => MAX_INSTANCES
    END;
    But how do I use it. Should I just run @purge_fabric_oracle.sql and will it prompt for parameters. Also Is this the right script to delete all the instances.
    Regards
    Edited by: user5108636 on 22/06/2010 16:53

    For deletion scripts I am particularly cautious. I want to delete all the instances for a particular composite id. How do I get the composite id. ProcessData [1.0] is shown in the EM under the soa application tree. Is it the composite id.
    Thanks

  • Mozilla is lying when it says Java Script is unnecessary for the avcrage user.Java script is not working in Firefox 7.01

    I want to roll back to an earlier version Firefox that works with Java Script how can I do this. Where I can download an earlier version? You know what the problems are. I am NOT going to list them. Own up to your errors. You made an incorrect conscious decision to break with Java compatibility.

    Mozilla is not lying about average users, but it shows contempt for experienced users, or those that want to be able to get the more out of their browser, or use it for work or school.
    Java and JavaScript are not the same thing. I trust you are referring to JavaScript problems and a lot of collateral damage associated with the mess.
    # Prohibition on Webpages being able to resize or move windows with JavaScript
    # Prohibition on Users being able to move or resize windows with JavaScript
    # Ignoring the fact that there were already user controls in Tools > Options > Content > Javascript > Advanced
    # Making JavaScript inoperable from Location bar as a command, or in a keyword shortcut that involves moving resizing windows
    # Destroying use of AwesomeBar search, Bookmark searching for bookmarks containing JavaScript, making internal searches very unreliable
    Firefox 8 comes out November the 8th and it nor later versions show any reversal of this mess.
    Firefox 3.6.* should remain safe to use for some time, as corporate users will not put up with nonsense when they support thousands of users.
    For those that really need an older version of Firefox [ftp://ftp.mozilla.org/pub/firefox/releases releases] (all releases, including 4.0.1 and 5.0) or with the latest of [http://www.mozilla.com/en-US/firefox/all-older.html Firefox 3]. Mac OSX 10.4 users can't upgrade to 4.0.1
    When you reinstall a different version, at the end of the install, don't let the install start Firefox for you, rather exit, and then start Firefox in the normal manner to avoid inadvertently creating and using a new profile without your bookmarks, etc.
    What would be better would be to use multiple versions / profiles at the same time, which is certainly beyond average users, particularly when Mozilla has historically and purposely made such things difficult. But if interested see [http://kb.mozillazine.org/Using_multiple_profiles_-_Firefox Using multiple profiles - Firefox - MozillaZine Knowledge Base]

  • [IDCS2]How to move the Snippet in a folder inside the Indesign Document Using Script?

    Hi
    How should i move all the snippet objects in a folder in to an Indesign Document using Javscript?
    Thanks
    myriaz

    Once you have the snippet in your document, how do you move it/select it? My snippet is a text frame with a table in it.
    This does NOT work:
    var myFoot = myDocument.pages.item(0).place("Hard Drive:Users:Casey:Desktop:footer.INDS")
    myFoot = myFoot[0]
    myFoot.geometricBounds = ["1", "1", "1", "1"]
    The snippet gets placed, but my error says "Object does not support the property or method 'geometricBounds'. This code works for normal images I place.
    JS - Mac - CS3
    Casey

  • Create user using Script

    Hi
    Does any body know how to create user in BI answers using any Script?
    Thanks.

    1. Create a text file with the UDML to create a new user(s):
    DECLARE USER "NewUser" AS "NewUser" UPGRADE ID 1 FULL NAME {New User} PASSWORD '' PERIODICITY 90
         HAS ROLES (
              "Administrators",
              "XMLP_ADMIN" )
         DESCRIPTION {password = Empty}
         PRIVILEGES ( READ);
    Merge it with your your current repository using nQUDMLExec.exe
    E:\OracleBI\server\Bin>nQUDMLExec.exe -U Administrator -P Administrator -I E:\temp\NewUser.txt -B E:\temp\paint.rpd -O e:\temp\newrep.rpd
    Regards John
    http://obiee101.blogspot.com/

  • Getting error message when i am trying to update the excel file using script task in ssis package

    Hi Guys,
    I am getting error message when I am trying to update the excel. Please find the error messages as below
    Error at Update File [Update File]: Failed to compiled scripts contained in the package. Open the package in SSIS Designer and resolve the compilation errors.
    Error at Update File [Update File]: BC30002 - Type 'Microsoft.Office.Interop.Excel.Application' is not defined., ScriptMain.vb, 32, 32
    Error at Update File [Update File]: BC30002 - Type 'Microsoft.Office.Interop.Excel.Workbook' is not defined., ScriptMain.vb, 33, 25
    Error at Update File [Update File]: The binary code for the script is not found. Please open the script in the designer by clicking Edit Script button and make sure it builds successfully.
    Warning at Update File [Update File]: Found SQL Server Integration Services 2008 Script Task "ST_050fcae972904039b4f0fe59b7528ece" that requires migration!
    and the code that   I am using is
    Dell - Internal Use - Confidential
    ' Microsoft SQL Server Integration Services Script Task
    ' Write scripts using Microsoft Visual Basic
    ' The ScriptMain class is the entry point of the Script Task.
    Imports System
    Imports System.Data
    Imports System.Math
    Imports Microsoft.SqlServer.Dts.Runtime
    Imports Microsoft.Office.Interop.Excel
    <System.AddIn.AddIn("ScriptMain", Version:="1.0", Publisher:="",
    Description:="")> _
    <System.CLSCompliantAttribute(False)> _
    Partial
    Public Class ScriptMain
    Inherits Microsoft.SqlServer.Dts.Tasks.ScriptTask.VSTARTScriptObjectModelBase
    Enum ScriptResults
                Success = Microsoft.SqlServer.Dts.Runtime.DTSExecResult.Success
    Failure = Microsoft.SqlServer.Dts.Runtime.DTSExecResult.Failure
    End Enum
    Public Sub Main()
            Dts.TaskResult = ScriptResults.Success
    'Dim proc As System.Diagnostics.Process
    'kill all instances of excel
    'For Each proc In System.Diagnostics.Process.GetProcessesByName("EXCEL")
    ' proc.Kill()
    'Next
    Dim excelnacomm As
    New Microsoft.Office.Interop.Excel.Application
    Dim wbnacomm As Microsoft.Office.Interop.Excel.Workbook
            wbnacomm = excelnacomm.Workbooks.Open("http://test.xlsx")(renamed
    the excel)
            wbnacomm.RefreshAll()
            wbnacomm.Save()
            wbnacomm.Close()
            excelnacomm.Quit()
            Runtime.InteropServices.Marshal.ReleaseComObject(excelnacomm)
    End Sub
    End
    Class
    Please let me know what could be the reason
    Smash126

    Download:
    Microsoft Office 2010: Primary Interop Assemblies Redistributable
    How to: Add or Remove References By Using the Add Reference Dialog Box  /  How to:
    Add and Remove References in Visual Studio (C#)
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

Maybe you are looking for

  • How to get CATALINA_HOME in a servlet?

    hello I want to dynamically make some html files available to users, so I think I should first get the value of CATALINA_HOME, then copy these files to proper directories. How can I get this environment variable then? Thanks for any reply!

  • How do I connect AirPlay

    How to I connect AirPlay for the first time?

  • Connecting Mini to Ubuntu distro

    Hey all, I'm currently trying to connect my Mini to my Ubuntu computer (actually physically located right next to each other but going through the home LAN with also a couple XP machines on it). I thought I enabled file sharing on Ubuntu but every ti

  • Interactive Form Offline - Scenario invoke Web services

    Hi All, I need developed a adobe form offline invoked webservices to update the BackEnd. I can use WD for Abap?? or only work with wd for Java ?? Tks Ivo Hashimoto

  • My Comcast Mail account is not working on all three devices

    Good Morning! Last night I plugged in my IPhone and IPad for charging and syncing. This morning my Comcast mail account is not working on my MAC, IPad and IPhone. I have deleted the acount on all three devices and set up a "new" account. Did not work