Need to pick up user from the position

Hi All,
In my workflow i have prepared the rule for agent determination , Here users are assigned to a positions , So when i call the rule from my workflow it is giving the postitions,But i need the User Id's which are already assigned to this positions,so please any one could give your ideas to get the user id's from position,
Just a thought Any how Here i am getting the postion ID, So is there any Function module exist to get the user ID' s based on this Position Id ?  then i can use that FM.
So please could any one help me to solve this issue..
Thanks in Advance..
Srihasa...

Hi Soumya,
I Thank you for giving this FM to me, My Problem was solved..
Thanks again for your valueble information..
Srihasa...

Similar Messages

  • I need to prevent unauthorized users from accessing the application pages

    Hi^^,
    I have created an application in jsp and servlets. It has several pages like manager, supervisor accountant. I need to prevent unauthorised users from accessing these pages. In other words I need to implement a filter. Anyone who types a url other than that of the login page needs to be blocked. However I am not able to conceptualize the code that is going to be inside the doFilter() method. Please help
    Sincerely,
    Prashant

    Hi^^,
    I admit that there were some mistakes in the previous posting. I have corrected the mistakes and now there is going to be no compile time error. However when i put in the login id and the password it is redirecting me to the login page. I think that the front end jsp is directing the control to the controller servlet. But as "YOU" have pointed out in your previous post,
    "by default requestDispatcher.forward(...) does not pass through the filter change. If the user requests the login page from their browser however, then they will still get the error message, which may not be appropriate."
    I feel we need to somehow make the code pass through the requestDispatcher.forward(...) method of the servlet.
    I am again posting the corrected code.
    package com;
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class SecurityFilter implements Filter
      public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws   ServletException, IOException
      HttpServletRequest req = (HttpServletRequest)request;
      HttpServletResponse res = (HttpServletResponse)response;
      String X = req.getRequestURI();
      if(X.equals(http://localhost:8080/MyProject/LoginPage.jsp))
         //writing code for passing through the filter
         final class MyGenericFilter implements javax.servlet.Filter
          public FilterConfig filterConfig;
          public void doFilter( final ServletRequest request, final ServletResponse response, FilterChain chain) throws java.io.IOExeption, javax.servlet.ServletException
          chain.doFilter(request,response);
          public void init(final FilterConfig filterConfig)
          this.filterConfig = filterConfig;
          public void destroy()
    else
       HttpSession session = req.getSession();
       String username = (String)session.getAttribute("username");
       if(null==username)
         request.setAttribute("Error","Session has ended. Please login");
         RequestDispatcher rd = request.getRequestDispatcher("Login.jsp");
         rd.forward(request,response);
         chain.doFilter(request,response);
        else
         RequestDispatcher rd = request.getRequestDispatcher("X");
         rd.forward(request,response);
    public void init(final FilterConfig filterConfig)throws ServletException
          public void destroy()
      Edited by: pksingh79 on Aug 12, 2008 5:23 AM

  • Cannot delete users from the Central Management Console

    I cannot delete users from the Central Management Console.  I'm logged in to Enterprise as administrator but still get the following error:
    There was an error while writing data back to the server: Sorry, you do not have the right to 'Delete objects' (id - 22) for 'koberg' (id - 725415). Please contact your system or permissions administrator if you require this right.
    Thanks in advance for any help on this matter.

    Oops, my mistake, sorry. Ok, so the Administrator cannot delete user koberg.
    Check top level:
    Logon to CMC, browse to Home > Settings and select the Rights tab. These are your top level settings. Factory default will show only Administrators and Everyone. Select the Net Access "Advanced" for the Administrators group. NB: Do not select these group names links - they will jump you out of the top level! On the Advanced rights page, ensure the right to "Delete objects" is explicitly granted.
    Then set for the Users top level folder:
    In the CMC, browse to Home, and select Users. Select the "Rights" button. Again - NB: Do not select these group names links - they will jump you out of the Users top level folder! Set the Administrators group to "Full Control". Save.
    That should be all you need. However, there is a possibility the previous admin was busy setting security not only at the account level, but on groups so we need to verify the user:
    In the CMC, browse to Home, and select Users. In the User list, select koberg. In the koberg account page, select the Rights tab. If the Administrators is not set to (Inherited Rights), make it so, and when you select the "Update" button, you should see the Net Access update to "Full Control". If this is the case, you should follow these steps on each account and accomplish this.
    And if you still can't delete it, verify the groups:
    In the CMC, browse to Home, and select Users. In the User list, select koberg. In the koberg account page, select the "Member of" tab. Note all groups koberg is a member of. Then in the CMC, browse to Home, and select Groups. Select the name hyperlink for the group(s) that koberg belongs to. On the group page, select the Rights tab, and ensure the Administrators have (Inherited Rights) - Full Control on all of these, also. If not, set it.
    Finally, I know you inherited this, but let's overview some basics of simplifying your deployment administration. Follow these guidelines, and your administration life will be so much easier.
    1. The Everyone group should never have any subgroups. Ever. All accounts on the system are a member of the Everyone group. Adding subgroups to the Everyone group is redundant.
    2. For simplicity's sake, Application level access should be set on the Adminstrators Group, and the Everyone group. I know there are customers who add groups to application rights. I don't understand why users would have an account on the system if they are not allowed access to InfoView, but it's your system.
    3. From a report object perspective, the Everyone group should be set at the top level to "No Access". This will result in them having no rights on anything at all. You break this inheritance at the application level to give them access to InfoView and other apps. On folders and objects, you ADD groups, then assign (ADD) rights as desired.
    4. If you can help it, never explicitly deny a right to any user or group for any object or application. Explicitly deny overrides any other setting. If a user belongs to group A and group B, and group A is explicitly denied a right, you can explicitly grant it for group B or the user all day long, and it will still be denied. Always try to put yourself in the position of adding groups/users, and adding rights, then inheriting as far down the folder tree as you can.

  • How to find out the user from the Jobs queue in Report server

    Hello All!
    I have a doubt about finding out the user from the scheduled jobs queue. Say I go ahead and schedule a report on Reports Server how can I find out the user name. When I view the jobs using showjobs I could see that the DBMS_JOBS table has a column under "Job Owner". But it invariantly shows it is "rwuser". So is there a way to find out which user has scheduled which job?
    Regards
    Shobha

    hi,
    The below tables will give only the name .
    USER_ADDRS
    USER_ADDR
    USER_ADDRP
    USR02
    i think you need email address .
    you can use this Tcode : su01d
    and give the user name and excute it
    i hope it will help you.
    Ram
    Edited by: Ram velanati on Jun 30, 2008 6:57 PM

  • Need to create a user  from procedure

    Hi to all,
    I need to create a user from oracle stored procedure. i am able to create a proceure successfully, when i am executing the procedure i cant able to successfully run it. it is throwing insufficient privileges. i tried to run the procedure from system user also.
    The below one is the procedure.
    create or replace procedure sp_createsuser(username varchar2)
    as
    begin
    execute immediate 'create user ' || username || ' identified by ' || username;
    end;
    the code is parsed successfully and created without any errors
    when trying to executing it throwing error as insufficient privileges
    the user is dba privileged and tried this procedure to execute from the system user also, getting the same output.
    I need to know whether it is possible to create user from a procedure, package or a trigger.
    Thanks in advance.

    Hi,
    I guess the message is pretty clear !! you lack privilege.
    SQL> conn imx/imx
    Connected.
    SQL>
    SQL> create user testproc identified by testproc;
    create user testproc identified by testproc
    ERROR at line 1:
    ORA-01031: insufficient privileges
    SQL> create or replace procedure sp_createsuser(username varchar2)
      2  as
      3  begin
      4  execute immediate 'create user ' || username || ' identified by ' || username;
      5  end;
      6  /
    Procedure created.
    SQL> exec sp_createsuser('testproc');
    BEGIN sp_createsuser('testproc'); END;
    ERROR at line 1:
    ORA-01031: insufficient privileges
    ORA-06512: at "IMX.SP_CREATESUSER", line 4
    ORA-06512: at line 1
    SQL> conn sys/******* as sysdba
    Connected.
    SQL> grant create user to imx;
    Grant succeeded.
    SQL> conn imx/imx
    Connected.
    SQL> exec sp_createsuser('testproc');
    PL/SQL procedure successfully completed.
    SQL> conn sys/syssys as sysdba
    Connected.
    SQL> select username from dba_users where username like 'TESTP%';
    USERNAME
    TESTPROC
    SQL>Regards

  • Is there a way to hide users from the FileVault 2 ''main boot'' login screen?

    After your entire disk is encrypted with FileVault 2, there is a now a ''main'' boot login screen with users displayed--after a full shutdown/restart--as opposed to a ''normal'' login screen when logging users in and out after booting into FileVault 2.
    If that made any sense...there was a way to hide users from the ''normal'' login screen before by running this Terminal command:
    sudo defaults write /Library/Preferences/com.apple.loginwindow \ HiddenUsersList -array-add xxxx
    (xxxx being a short user's name)
    How do I do this now for the login screen that comes up on a full/shutdown restart?

    Not really, but you can move them from the home screen to, say, the 4th, or 10th screens. But you do need to have at least one app in every screen on the phone. My idea was to have several blanks before the screen with her apps, but the phone doesn't allow this.
    Sounds like time for the Iron Fist. ::grin:: Putting your foot down. Funny how those two descriptions don't quite match up. Our 5 year old son loves to use the iPhone, and with consistent training we have minimal trouble when he doesn't want to quit.
    Have a great trip. Joel.

  • WRT54GX2 does not pick up time from the network...

    I have a WRT54GX2 running firmware 1.01.14 and it does not pick up time from the network. I have PacBell (now AT&T) as an ISP and a DSL link. My old Netgear router picks up the time immediately. I am trying to figure out if I have a defective unit or if this is a firmware bug. Without the time, I can not use any of the scheduling functions, nor measure uptime.
    Does anyone have this router with the time working? I have set the appropriate time zone.
    Thanks,
    Martin

    mneiman wrote:
    Thanks for you ideas.
    The backup file appears to be binary. However in searching through it I did see 3 time related text strings, namely: clock.stdtime.gov.tw, time-b.nist.gov and time.nist.gov. I can successfully ping clock.stdtime.gov.tw and time.nist.gov. This reinforces my belief that my ISP (AT&T nee PacBell) is not blocking access.
    however ntp works on TCP port 123. ping works on udp 7 afaik. if your old netgear works i guess this is a router problem.
    have you reset the router yet? afaik press reset button for 10 seconds.
    you will however loose all settings and need to enter them again. it may however fix the issue.Message Edited by linksysinfo on 07-09-2006 03:09 AM
    Regards Simon
    NAS: TS-459 Pro - 3.6.1 Build0302T - 4 x 1TB Samsung HD103SJ : EXT4 - APC ES 700VA UPS
    QPKG: WordPress 3.4, TwonkyMedia 6.0.39 QPKG - Zenphoto1.4.2.1 [7802] - phpMyAdmin v3.3.10
    Network: Netgear DG834G V4.01.40 - DGTeam Rev. 0849 -> Cisco RV220W 1.0.4.13, Cisco SLM2008, Dlink DSM-520, Xbox360

  • People Picker Showing Users From Both Domains

    We recently have begun setting up and laying out SharePoint 2010 Standard. It was brought to my attention that when using the search/browse function of the 'people picker' it is showing users from both the domains currently available on our network. Our
    current domain is a *.local domain and the old one which is no longer used for very much is a *.com domain. I have researched this issue and tried running the stsadm 'getproperty' and 'setproperty' commands. The 'getproperty' command for "peoplepicker-distributionlistsearchdomains",
    "peoplepicker-searchadforests", "searchadfilter", etc; always returns "<Property Exist="No" />" even after I have just run a set command and it reports that the command had run successfully. I read something
    about setting the stsadm -o setapppassword -password command, but I am unsure what this does to the current sharepoint configuration.
    Hopefully someone can help me fix this issue so that when people select browse/search only users from the *.local domain are shown.
    Thank you very much to anyone who can help me with this. I have been researching this issue for some time, but my knowledge regarding SharePoint is very limited, and I do not want to continue trying other more in-depth approaches I have found that may resolve
    this issue until I am better informed.

    This is normal when there is a trust between the domains. It is also normal if you previously added users from the .com domain to a SharePoint site as they'll be in the ULS logs.
    To resolve the first type of issue, where a trust does exist, run:
    stsadm -o setproperty -pn peoplepicker-searchadforests -pv "forest:domain.local" -url http://webAppUrl
    To resolve the second issue, run:
    $user = Get-SPUser -Identity "COMdomain\username" -Web http://webUrl
    Move-SPUser -Identity $user -NewAlias "LOCALdomain\username" -IgnoreSid
    Trevor Seward, MCC
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • HT204266 I forgot the answers to the security questions and need it to buy things from the apple store in my new iPhone, how can I resolve it?  Thank you

    I forgot the answers to the security questions and need it to buy things from the apple store in my new iPhone, how can I resolve it?
    Thank you

    If you have a rescue email address (which is not the same thing as an alternate email address) set up on your account then you can try going to https://appleid.apple.com/ and click 'Manage your Apple ID' on the right-hand side of that page and log into your account. Then click on 'Password and Security' on the left-hand side of that page and on the right-hand side you might see an option to send security question reset info to your rescue email address.
    If you don't have a rescue email address then see if the instructions on this user tip helps : https://discussions.apple.com/docs/DOC-4551

  • The circuit of my macbook is dead yet the hard drive is fine.  I need to access a file from the hard drive, how can i do this? is there a cable i can connect to another mac that will let me transfer the file?

    The circuit of my macbook is dead yet the hard drive is fine.  I need to access a file from the hard drive, how can i do this? The mac turns on the screen freezes as bright blue.  Is there a cable i can connect to another mac that will let me transfer the file?

    There is another option if the Macbook will start up in Target Disk Mode.
    Restart the computer while holding down the T key. If you see the firewire symbol moving around on the screen you can connect this one to another one in TDM. You will need a suitable cable to connect the two Macs.
    http://support.apple.com/kb/ht1661
    Firewire symbol:

  • Script to Delete more than 1 user from the database

    Hi All,
    I have a list of users in a file and i want to write a script to delete all these
    users from my database.
    I have tried deleting users using:
    drop user user1,user2,user3..... but it doesn't seem to work.
    Can anyone suggest how do i read the users from the file and delete them one by one

    You can use an external table :
    SYS@db102 SQL> select username from all_users
      2  where username like 'USER%';
    USERNAME
    USER1
    USER2
    USER3
    SYS@db102 SQL> !cat users_to_drop.txt
    USER1
    USER2
    USER3
    SYS@db102 SQL> create table test.users_to_drop
      2  (
      3     userx   char(30)
      4  )
      5    organization external
      6  ( type oracle_loader
      7    default directory work
      8    access parameters
      9     ( records delimited by newline
    10     )
    11     location ('users_to_drop.txt')
    12  )
    SYS@db102 SQL> /
    Table created.
    SYS@db102 SQL> begin
      2     for U in (select userx from test.users_to_drop) loop
      3             dbms_output.put_line('Dropping '||U.userx);
      4             execute immediate 'drop user '||U.userx||' cascade';
      5     end loop;
      6  end;
    SYS@db102 SQL> /
    Dropping USER1
    Dropping USER2
    Dropping USER3
    PL/SQL procedure successfully completed.
    SYS@db102 SQL> select username from all_users
      2  where username like 'USER%';
    no rows selected
    SYS@db102 SQL>

  • Delete more than 1 user from the database

    Hi All,
    I have a list of users in a file and i want to write a script to delete all these
    users from my database.
    I have tried deleting users using:
    drop user user1,user2,user3..... but it doesn't seem to work.
    Can anyone suggest how do i read the users from the file and delete them one by one

    I have written a script but getting a error.Can anyone help :-
    create or replace PROCEDURE drop_user
    is
    v_filehandle utl_file.file_type;
    v_user VARCHAR2(20);
    lv1 VARCHAR2(200);
    err_code VARCHAR2(20);
    err_msg VARCHAR2(250);
    BEGIN
    v_filehandle:=utl_file.fopen('/tmp','user_list.lst','R');
    LOOP
    BEGIN
    utl_file.get_line(v_filehandle,v_user);
    lv1:='drop user'|| v_user;
    execute immediate lv1;
    EXCEPTION
    WHEN OTHERS THEN
    err_code := SQLCODE;
         err_msg := substr(SQLERRM, 1, 200);
         dbms_output.put_line(err_code|| ':-' || err_msg);
    END;
    END LOOP;
    utl_file.fclose(v_filehandle);
    END DROP_USER;
    ERROR :
    ERROR at line 1:
    ORA-06510: PL/SQL: unhandled user-defined exception
    ORA-06512: at "SYS.UTL_FILE", line 98
    ORA-06512: at "SYS.UTL_FILE", line 157
    ORA-06512: at "TOM.DROP_USER", line 9
    ORA-06512: at line 1

  • If I preorder an iPhone 5 will it arrive at my house on the 21st or is that when it'll ship? I would like to have it the day it comes out so if it would be faster to order it online and then pick it up from the apple store, let me know! Thanks

    If I preorder an iPhone 5 will it arrive at my house on the 21st or is that when it'll ship? I would like to have it the day it comes out so if it would be faster to order it online and then pick it up from the apple store, let me know! Thanks

    My experience is with the iPhone 4S and the "new" iPad, both of which I ordered early on the opening pre-order day. In both cases the wording from Apple during the media event was "pre-orders will start on ABC date for delivery on XYZ date" which was also the same day they were to go on sale in stores.  In both cases, the UPS truck rolled up earlier than usual XYZ date as promised to hand me my new iPhone/iPad. In both cases there were instances of confusion due to some pre-order confirmations stating incorrectly "SCHEDULED SHIPPING DATE: XYZ".  In both cases that caused much fear, panick, and trepidation that fed upon itself as it permeated a widely scattered forum linked community of "adults" that seem to collectively revert to a state of childish impatience and ultimately child-like glee as they obsessively refresh their dedicated tracking browser window; become convinced that there is no hope of escaping the dread delayed shippment, and then finally receive their new toy exactly when they were supposed to.  Not that I personally would ever succumb to that of course.  Er uhm ... it's just what I've seen you know .. nothing I can really relate to.

  • JAVA, sqlserver - Need to load an image from the sql server database

    hi,
    I need to load an image from the sql server database using java. I have connected to the database and getting all other records except the records for a photo (datatype = LONGVARBINARY) and Remarks (datatype = LONGVARCHAR).
    I am using java and sql server db. The photo and remarks are stored in the db. and i need to show the image and the remarks fetching them from there.
    I get the error :
    Thread-9 org.hibernate.MappingException: No Dialect mapping for JDBC type: -1
    How can I achieve this?
    Thanks,
    Gargi

    Exactly. And are you using MySQL?
    No. You are using Microsoft SQL server if I have to believe your initial post. A quick google tells me that the dialect class to use is:
    org.hibernate.dialect.SQLServerDialect

  • Create an user from the existing user.

    Hi All,
    Recently i have created one user from the existing user in a different server.
    Oracle version :10.2.0.1.0
    I have granted the similar roles same as in production.
    In Production:
    SQL> select granted_role,grantee from dba_role_privs where grantee in ('TRADELOANS');
    GRANTED_ROLE                   GRANTEE
    RESOURCE                       TRADELOANS
    CONNECT                        TRADELOANS
    In Test:
    SQL> select granted_role,grantee from dba_role_privs where grantee in ('TRADELOANS');
    GRANTED_ROLE                   GRANTEE
    RESOURCE                       TRADELOANS
    CONNECT                        TRADELOANS
    But the user complained that he is getting error like 'user lacks CREATE SESSSION privilege'. He also says he is able to connect to production but for the test he is getting that error
    Can anybody let me know where i have done the mistake?
    Regards
    Arun

    arundba wrote:
    Hi Kamran,
    I listed the roles given to the user in my first post. I have granted connect and resource role to the user.
    and it is same in production also. But the thing is why he is able to connect to production and not for test?
    Regards
    ArunSee the following demonstration:
    SQL> create user t identified by t;
    User created.
    SQL> connect t/t
    ERROR:
    ORA-01045: user T lacks CREATE SESSION privilege; logon denied
    Warning: You are no longer connected to ORACLE.
    SQL> conn / as sysdba
    Connected.
    SQL> grant connect to t;
    Grant succeeded.
    SQL> conn t/t
    Connected.
    SQL>

Maybe you are looking for

  • How do I remove my husband's contacts from my phone?

    We share a computer and when I log in to sync my phone, his contacts are synced also.  I've configured my contacts to my email account but that didn't work. Help?!

  • In need of a macro to transpose data from horizontal to vertical

    I need help creating  a macro that would transpose some data from horizontal to vertical. 

  • Problems installing Lightroom 4.4 on Windows 7 Ultimat 64bit

    Hi everyone, I have probplems installing Lightroom 4.4 on Windows 7 Ultimate 64bit and hope somebody can help me. By the way: Lightromm 4.3 is still working fine. Installation fails with the meassage "Fehler beim Lesen von Datei: C:\Users\Markus\AppD

  • How to disable selection of root node in JTree

    Hi all! Thanks for taking a minute to read my post! I am writing a really basic JTree for showing a list of items. Here is some of the code: /** Create a basic tree **/ DefaultMutableTreeNode rootNode = new DefaultMutableTreeNode("Title"); DefaultTre

  • CD drive won't work

    I pushed the CD tray in too hard and the CD jumped up and got jammed going in to my Power Mac G4. I pulled it out, but now when the tray goes in, it makes a whining, almost buzzer sounds with 2 pitches. The eject button on the face of the unit stoppe