How to get, from a remote application, list of groups & users?

I need to get list of groups, and users in a group,
and profile of a user of weblogic
from a remote application.
Do I need to use classes from com.bea.p13n.security.management.authentication? How?

2 ways.. u might be able to set up trust between the domains or something and then call the UserManager and GroupManager EJBs.
Or if u are using RDBMS authentication, you can just go against the database and write u'r own queries.
Kunal

Similar Messages

  • How to get permission of a sharepoint list for a user using REST api

    Hi there,
    I have a requirement where i need to check the access permission of a user against a List or Library only using REST api from my remote salesforce app. [I already have access token and I am able to view list, add item etc..]
    Say for example, I have to send the list name and user name, and get the result as Read, Write, Contribute(Manage), None. I need to display what permission does that user have for that List.
    How do I achieve this. Please help me.
    Thanks in advance.

    Hi,
    For High and low bits, we can create a new SP.BasePermissions object to use like below:
    function success(data){
    var permissions = new SP.BasePermissions();
    permissions.set(SP.PermissionKind.manageLists);
    var hasPermission = permissions.hasPermissions(data.d.EffectiveBasePermissions.High, data.d.EffectiveBasePermissions.Low);
    Here is a detailed article for your reference:
    http://www.lifeonplanetgroove.com/checking-user-permissions-from-the-sharepoint-2013-rest-api/
    Thanks
    Best Regards
    Jerry Guo
    TechNet Community Support

  • I excluded iphone from controls in Keynote. How I get it back on the list to use Keynote remote?

    I excluded iphone from controls in Keynote. How I get it back on the list to use Keynote remote?

    Welcome to the Apple Community.
    If you haven't turned find my phone off on the device, it should just reappear next time it is connected to an appropriate network. If you have turned off find my phone, turn it back on.

  • How to download from spool to application server

    Hi all,
       Can any one tell me how to download from spool to application server. Quick response would be appreciated.
    thanks
    mahesh

    Hi Kilaru,
    Please find the sample code for your req,t and let me know if you found any difficulty on the same.
    <b>Just copy paste the code :</b>
    This will Convert spool to PDF format and download.
    data: w_ident     like tsp01-rqident,
          w_doctype   like tsp01-rqdoctype,
          w_bytecount type i.
    data: itab_pdf    like tline occurs 0 with header line.
    parameter spoolnum like tsp01-rqident obligatory.
    selection-screen begin of block a2 with frame.
    parameters:  to_pc   radiobutton group a2 default 'X',
                 pcfile like rlgrap-filename lower case,
                 to_unix radiobutton group a2,
                 unixfile(255) lower case.
    selection-screen end of block a2.
    at selection-screen on block a2.
      if to_pc = 'X' and pcfile is initial.
        message e398(00) with 'Enter PC File Name.'.
      elseif to_unix = 'X' and unixfile is initial.
        message e398(00) with 'Enter Unix File Name.'.
      endif.
    at selection-screen on spoolnum.
      select single rqident rqdoctype
             into (w_ident, w_doctype)
             from tsp01
             where rqident = spoolnum.
      if sy-subrc ne 0.
        message e398(00) with 'Spool' spoolnum 'not found'.
      endif.
    at selection-screen on value-request for pcfile.
      call function 'WS_FILENAME_GET'
           exporting
                mask     = ',.,..'
           importing
                filename = pcfile
           exceptions
                others   = 1.
      if sy-subrc <> 0.
        message id sy-msgid type 'I' number sy-msgno
                with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      endif.
    start-of-selection.
      if w_doctype = 'LIST'.
        perform get_abap_spool_in_pdf.
      elseif w_doctype = 'OTF'.
        perform get_otf_spool_in_pdf.
      endif.
      if to_pc = 'X'.
        perform write_pdf_spool_to_pc.
      else.
        perform write_pdf_spool_to_unix.
      endif.
      message i398(00) with 'Completed OK'.
    form get_abap_spool_in_pdf.
      refresh itab_pdf.
      call function 'CONVERT_ABAPSPOOLJOB_2_PDF'
           exporting
                src_spoolid              = w_ident
           importing
                pdf_bytecount            = w_bytecount
           tables
                pdf                      = itab_pdf
           exceptions
                err_no_abap_spooljob     = 1
                err_no_spooljob          = 2
                err_no_permission        = 3
                err_conv_not_possible    = 4
                err_bad_destdevice       = 5
                user_cancelled           = 6
                err_spoolerror           = 7
                err_temseerror           = 8
                err_btcjob_open_failed   = 9
                err_btcjob_submit_failed = 10
                err_btcjob_close_failed  = 11
                others                   = 12.
      if sy-subrc ne 0.
    message e398(00) with 'Cannot convert to PDF. Error =' sy-subrc.
      endif.
    endform.
    *********************************************************form get_otf_spool_in_pdf.
      refresh itab_pdf.
      call function 'CONVERT_OTFSPOOLJOB_2_PDF'
           exporting
                src_spoolid              = w_ident
           importing
                pdf_bytecount            = w_bytecount
           tables
                pdf                      = itab_pdf
           exceptions
                err_no_otf_spooljob      = 1
                err_no_spooljob          = 2
                err_no_permission        = 3
                err_conv_not_possible    = 4
                err_bad_dstdevice        = 5
                user_cancelled           = 6
                err_spoolerror           = 7
                err_temseerror           = 8
                err_btcjob_open_failed   = 9
                err_btcjob_submit_failed = 10
                err_btcjob_close_failed  = 11
                others                   = 12.
      if sy-subrc <> 0.
    message e398(00) with 'Cannot convert to PDF. Error =' sy-subrc.
      endif.
    endform.
    *********************************************************form write_pdf_spool_to_unix.
      open dataset unixfile for output in binary mode.
      if sy-subrc ne 0 .
        message e398(00) with 'Cannot open unix file for output:' unixfile.
      endif.
      loop at itab_pdf.
        transfer itab_pdf to unixfile.
        if sy-subrc ne 0 .
          message e398(00) with 'Cannot write to unix file:' unixfile.
        endif.
      endloop.
      close dataset unixfile.
    endform.
    *********************************************************form write_pdf_spool_to_pc.
      call function 'WS_DOWNLOAD'
           exporting
                bin_filesize            = w_bytecount
                filename                = pcfile
                filetype                = 'BIN'
           tables
                data_tab                = itab_pdf
           exceptions
                file_open_error         = 1
                file_write_error        = 2
                invalid_filesize        = 3
                invalid_type            = 4
                no_batch                = 5
                unknown_error           = 6
                invalid_table_width     = 7
                gui_refuse_filetransfer = 8
                customer_error          = 9
                others                  = 10.
      if sy-subrc <> 0.
    message e398(00) with 'Cannot download to PC. Error =' sy-subrc.
      endif.
    endform.
    Hope this will help you.
    Cheers
    Sunny
    Rewrd points, if found helpful

  • How can get a refund Vat application

    How can get a refund Vat application for iPhone 5s

    I would imagine that you would have to request it from the government that has charged you the VAT and would refund it.

  • How to get the Ap credit memo list?

    Dear Experts,
        Could you tell me how to get the AP credit memo list?
         Is it standard report ?
    Thanks!
    Xinling

    Hi,
    Go to transaction code FB03 and do following steps :
    1. Click on
    2. Click on
    3. Next Screen
    Double Click on Transaction Code if it is not Green
    4. Next Screen
    Enter the transaction code through which you are generating Credit Memo or click on Multiple Selections in case you are using more than one.
    5. Execute
    Regards,
    Tejas

  • How to get from Apple (officially) details on my iphone 5 (knowing the serial number): model, date of sale, the date of activation, etc.

    How to get from Apple (officially) details on my iphone 5 (knowing the serial number): model, date of sale, the date of activation, etc. I bought a new iphone 5 on ebay.com - he was used. For a decision on my case ebay asks for this information ...

    Apple will never reveal that info to you, since you were not the originally purchaser. However, you can get the date of sale by entering the SN here:
    https://selfsolve.apple.com/agreementWarrantyDynamic.do
    Warranty starts on the date of sale, which is most likely the date of activation, but not necessarily so.

  • How to get po item condition type according schema group

    hi experts,
    i want to get po item condition type according schema group.
    for example, in xk03, if the "schema group, vendor"in purchasing data view is set to 'Z3', in the purchase order which is made for this vendor, the po item's gross price condition type is hwxx.
    if the "schema group, vendor" is set to 'Z2', the po item's gross price condition type is pbxx.
    my question is : how to get po item condition type according schema group?
    hunger for ur advice and thanks a lot!

    several steps you need to go
    1. you need to get the purcahsing group schema against your purchasing group from table T024E.
    2. get the vendor group schema from vendor master data table LFxxxxxx
    3. get the pricing schema from table TMKS via the selection criteria purchasing group schema and vendor group schema
    4. go to the table T683S via inputing Usage, application and pricing determination procedure.
    5. now you got it.

  • HT4859 How to get back my all application from iTunes to my new iOS6

    Hi,
    I have just update my iphone 4 ios5 to ios6, but in that I dont know I am not able to see any of old applications, and I am not able to see my backup, could anybody tell me how to get it back to my new ios6 all those applications and musics etc, as those thing I can see in my MacBook itune, all those are avaible their but in my iphone.
    Cheer
    San

    As you have iOS 6 you must be a developer and therefore should know that discussing iOS 6 outside of the private developer only forums is a violation of the non-disclosure agreement you signed to gain access to it.
    So, post your question in the private developer only forums.

  • How  to communicate with a remote application that uses http post to request connection

    Ok, I will try to make this simple as to avoid any
    confusion.
    I am trying to receive connection requests from remote applications installed on user pc's.
    The application uses POST method to send the request to connect to my database, and if required update some tables.
    The application is not a webpage. I have no access to the internal workings of the application nor do I have any specific information about how it sends its POST. I am sure of the following:
    The app will POST to my .cfm page
    "IsConnectionAllowed" = "yes"
    This is asking my cfm page if its ok to connect. I would need to use a <cfif> to verify the the first part of the POST is in fact
    "IsConnectionAllowed" = "yes"
    If this returns true, (the app also uses to POST to pass "username" and "password") my .cfm page will then perform a query and check the username and password against the database. If a matching record is found, the application expects my page to reply with
    "#Answer# OK- connected;"
    Once the answer is given the application will then respond with data to insert or update my tables.
    Now, I know how to do the queries and update tables etc, but I have never received data from an application before.
    I tried using the <cfform> tag with a mehod of GET, and then trying to send my reply with <cfoutput>, but that didn't work. The application doesn't give any feedback or error messages. It either connects or not.
    I also tried the <cfhttp> tag, but that didnt work either. I am not very experinced with coldfusion. I used it years ago and am just getting back into it.
    I am sure this is a pretty easy thing to do, but my methods arent working.
    Using the above information, can somone please show me how I would accomplish this communication? I can then use the same method to retrieve the data for my table updates and queries.
    Here is a sample of what I have already tried:
    <cfform method="get">
    <cfif>
    "IsConnectionAllowed" = "yes"
    <!-- I need to query a username or password. But for testing I will just give the OK to connect -->
    <cfoutput>#Answer# Ok - connected;</cfoutput>
    <cfelse>
    <!-- When I query username and password, if the query returns no records I deny the connection -->
    <cfoutput>#Answer# Not connected;</cfoutput>
    </cfif>
    </cfform>
    BTW, I have examples of this being done using .php and .asp. I need to do this using .cfm. I can post the either the .php or.asp code if it will be helpful in converting the function into a .cfm page.

    Thanks Fernis.
    That code allowed me to connect!
    I have an error on the remote application, but I think thats due to the fact that I commented out the database connection and query strings. As I am mostly concerned with connection at this point, I just wanted to test that my cfm page will recognise the POST request and send the right answer, In this case
    ##Answer## Ok - connected;
    That worked perfectly and the application received the ok to connect.
    I can now use your code as a base to carry on with my database connection and update query.
    I can't thank you enough. I wouldnt have figured that out in a million years of trial and error.
    I knew it was simple though. I was over thinking it.
    I do have one last question though... In the code you presented you have
    <cfif structKeyExists(Form,"isConnectionAllowed") AND form.isConnectionAllowed EQ "yes">
    Can you you explain this    structKeyExists(Form,"isConnectionAllowed")
    I have never seen this before. Why the Form followed by a comma? I am guessing you are asking if there is an element in the POST called "isConnectionAllowed". Is that correct?  If so, do I not need to do that for each POST'ed element such as username, password, and each of the other fields that will be updated in the session?

  • How to get multiple selected fields in list

    Hello all,
    I am trying to get multiple selected value from a list but i dont know how to get multiple selected fields from a list though AS3.
    Actually i want to pass the selected fields to php, so for that i need to get the selections and send to php.
    Thankx..

    i want to put the selected fields of list in an array through AS3....
    actually......i figured it out how to do that...........
    Its simple......use
    list.selectedItems[index]
    and to get the number of items selected......
    list.selectedItems.length
    simple.....

  • How to get USB device in the list of VISA resource Name field of VISA Open VI

    I have followed the below tutorial to communicate with my device using USB port. But i didn't get the name of the USB port in Measurement & Automation Explorer devices list. How to get it? Can anyone suggest something?
    http://zone.ni.com/devzone/cda/tut/p/id/4478
    Solved!
    Go to Solution.

    Hi kimhyun,
                     I have attempted this.But succeeded.I used pendrive as my USB device.my sugesstion is you don't disconnect your device at any point of your work.Check the device is connected properly.IF your system has recognized your device,you can view the device in control panel>>Device Manager>>Then open your particular device from the list of connected device then Details>>device description>>Hardware Ids>>Then you can find your vendor id there.
    Try this.I think your device is loosly connected.Which USB device are you using??Also you must install THE DRIVER OF YOUR USB DEVICE.
    GOOD LUCK
    Thanks as kudos only

  • ECC6.0 t-code COOIS - how to get the "Profile" select-option list

    Hi  PP Gurus
    We are implementing ECC6.0
    We upgraded one of the systems from 4.7 to ECC6.0 (and also kept data: documents, users profiles, variants,u2026etc).
    My question is regarding standard transaction COOIS.
    I do comparison in current 4.7 and ECC6.0 systems (I have SAP_ALL and SAP_NEW in both systems).
    The thing is that in our ECC6.0 system the transaction COOIS doesnu2019t display Profile on select-options screen.
    There are only the following items (select-option screen of COOIS in ECC6.0):
    -LIST
    -LAYOUT
    -Prod.orders checkbox
    -Planned orders checkbox
    u2026And u2018Selectionu2019 tab with other fields
    In the current Enterprise 4.7 system the transaction COOIS displays the following select-option screen:
    -LIST
    -PROFILE
    -LAYOUT
    -Prod.orders checkbox
    -Planned orders checkbox
    u2026And u2018Selectionu2019 tab with other fields
    Questions:
    1.     Is that possible to maintain / see and select a PROFILE in COOIS of ECC6 (or due to new functionality it no more available on that screen ?) How to do that?
    2.     Looking at layouts (I ran COOIS in two systems and compared the results) I canu2019s see in ECC6.0 some icons like u2018Refreshu2019, u2018Order logu2019, u2018Display order componentsu2019, u2018Long textu2019 , u2026.) But all of them are in 4.7 layout. How to get them in ECC6.0 ?
    What I have already explored:
    u2022     ECC6.0 has a new config. t-code COISN (4.7 has only COIS) . I created my new overall profile there, set my own layout, but running COOIS still canu2019t see/use the PROFILE;
    u2022     I have compared the standard structure PPIO_ENTRY_SC1100 in 4.7 and ECC6.0 and found the new component COIS_LISTTYP in ECC6.0. In this situation I ran a new t-code u201CDefine New List Typesu201D (it doesnu2019t exist in 4.7) and created my new entry, but still canu2019t see PROFILE on select-option screen of COOIS in ECC6.0;
    u2022     I also tried situation when both config. transaction COIS (in 4.7 and ECC6.0) had the SAME overall profiles u2013 still canu2019t see PROFILE on select-option screen of COOIS in ECC6.0;
    u2022     I found a new icon u201CNavigation profileu201D in result layout of COOIS ECC6.0 Is that right place where I can maintain the icons I need (see my second question) ?
    THANK YOU.

    Hi,
    The reports are modified if am right as of ECC 5.0. Refer to note - 747469 which gives a list of all reports modified.
    If am right by profile you mean navigation profile, this is now in the display screen. The content remains, only thing is the layout is modified & more structured. So i would suggest you to have a look around in COOIS report & you will find the info.
    The navigation profile is adjacent to the icon called Environment (its a drop down list).
    Revert if you face any issues.
    Regards,
    Vivek

  • How to get username in the application?

    Hi,
    Do anyone knows how to get username from the application, for example, oracle provides a function to retreive a username from application?
    Please Help
    Amy

    read about the following function, it is usefull for you.
    sys_context

  • HOW TO: Connect web service (remote application module) to existing model

    Hello.
    I have J2EE application which displays some data in an applet, which reads them by a web service. I'd like to use persistence and connect with a web service called by applet to my current model set within a session. I tried to pass a session id to web service (to a function of an application module implementation). I wanted to create a new SessionCookie instance with such a session id and application id which are used for web application session (by ApplicationPoolImpl.createSessionCookie() or with custom session cookie factory). But I don't know how to pass a session and application ids to a sessioncookie creation process (ApplicationPool environment). I tried to use custom EnvInfoProvider, which set my properties, but it passes the params after a SessionCookie instance is created.
    Samples ... AppModuleServer - file generated to provide ws functionality. I changed code to use EnvInfoProvider:
    public class AppModuleServer extends Object{
      public AppModuleServer(){}
      public SomeObject[] myCustomFunction(String sessionId){
        AppModuleImpl _am = null;
        String appId="someValue";
        CustomEnvInfoProvider envProvider=new CustomEnvInfoProvider(appId, sessionId);
        try{
          _am=(AppModuleImpl)Configuration.createRootApplicationModule("data.AppModule", "AppModuleLocal", envProvider);
          return _am.myCustomFunction(sSessionId);
        finally{
          if (_am != null)Configuration.releaseRootApplicationModule(_am, false);
    }CustomEnvInfoProvider:
    public class CustomEnvInfoProvider implements EnvInfoProvider{
      private String applicationId;
      private String sessionId;
      public CustomEnvInfoProvider(String applicationId, String sessionId){
        this.applicationId=applicationId;
        this.sessionId=aessionId;
      public Object getInfo(String info, Object environment){
        if(info==null)return null;
        return ((Hashtable)environment).get(info);
      public void modifyInitialContext(Object environment){
        if(applicationId!=null)((Hashtable)environment).put("CookieApplicationId", applicationId);
        if(sessionId!=null)((Hashtable)environment).put("SessionId", sessionId);
      public int getNumOfRetries(){
        return 2;
    }Does anybody knows how to pass information from custom EnvInfoProvider just before a SessionCookie is created (e.g. how to run modifyInitialContext() function). Or another way how to pass these information from a web service base function into ApplicationPoolImpl instance. E.g., there is parameter "properties" whithin a createSessionCookie method of ApplicationPoolImpl, which is null during calling. Is it possible to pass there some additional information?
    Thanks for any suggestions.

    Use the Web Service Proxy wizard in JDeveloper to create a class that calls your Web service, and then call this class from code in your AM.
    http://docs.oracle.com/cd/E16340_01/web.1111/b31974/web_services.htm#CJAHGIEF

Maybe you are looking for

  • HT4623 Iphone 4 is stuck on the connect to itunes screen after i downloaded the new update. What do i do?

    I downloaded the new update on my iphone 4 and now its stuck on a screen where it shows a usb pointing up towards the itunes symbol, and i have tried syncing my phone to itunes to finish it but itunes wont detect my phone. What do i do? Please help

  • Lacie External Hard Drive Problems

    I have recently purchased a Lacie 250 gb external hard drive. I installed Tiger on the external hard drive choosing the Erase and format (Journaled) option. The hard drive does mount on the desktop, and is accessible. However, I am unable to select t

  • Need to replicate Portal /irj security setting

    Hi Folks, I am working on a Portal 6 - Web AS 6.40 SPS 21 I have strange proprietary application (I guess aspx) handling user authentication in the production Portal: whenever a user points the browser to the production portal public URL (say https:/

  • ITunes 11 can´t open

    I download iTunes 11 to my imac and dont open only show the next message: Process:         iTunes [490] Path:            /Applications/iTunes.app/Contents/MacOS/iTunes Identifier:      com.apple.iTunes Version:         11.0 (11.0) Build Info:      iT

  • Hotspot click  in methods for alv grid list

    Hi all , i written a program for grid display and hotspot click. but it is not capturing the value at the event hotspot click, please anybody help me in capturing the value in the following code. it will be great will it happens soon. REPORT zag_tabl