Authenticating the user information Via Rest webservice

I am using a REST web service built using Jersey, and I am getting the username/password from the web service call. How can I trigger WLS authentication from within my web service?

Hi Aftab Ahmad,
Thanks for posting in MSDN forum.
>>I am developing a Word 2013 App where I need the current user information as it is in the picture below<<
Did you mean that you want to get the current account who log in the Office? As far as I know, it is not supported at present version of apps for Office. If you want to apps for Office support this feature, I suggest that you submit the feedback from link
below:
Customer
Feedback for the Office Developer Platform
Regards & Fei
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • We are sorry, but we are unable to complete your request.•The Office 2007 Product Key provided is already associated with another user on this site. Please log in with the user information originally used with this Office 2007 Product Key.

    Over the years I have had many ISP and email addresses - but now we have  finally gone almost fully virtual...
    I have a live login and MS ID 4 my SkyDrive account but I only use my MS  touch with 8.1, SkyDrive and office 365 for mobility.
    And I still like to backup to my own server!!!
    What would be good is if I can put all the software licenses and product  keys of the software and keep a record of my mac addresses for  hardware  and even static IP's in a file or a secure location within the MS online  store.
    That's where MS wants me to get my computing needs from in future and I  will always be able to retrieve it in future but what about the $$$$$ I have  spent on software, hardware and applications prior to now???
    I know u guys love 2 collect data 4 marketing analysis,
    4 example I have an old PC that is still running a server from last century  - if you knew about it a simple script would allow you to offer upgrades or at  least relevant MS products - UNLIKE the rubbish adds I just turn off or tune out 
    now...
    Why cant I add products previous online email purchases into the 1 MS live  ID account where I can keep it together? If you make that available I don't have  to have separate steam accounts, EA game accounts, ASUS and adobe accounts etc 
    etc.
    What has brought me 2 this is I was looking for my office pro 2007 disks to  rebuild a HOME USE ONLY windows 7 laptop (NO touch screen so 8.1 is no benefit  at all)
    I HAVE 4 Genuine PRODUCT KEYs for Office 2007 BUT EVERY TIME I WENT TO  DOWNLOAD the software - regardless of the key I used - I got the error message:  We are sorry, but we are unable to complete your request.•The Office 2007  Product Key
    provided is already associated with another user on this site.  Please log in with the user information originally used with this Office 2007  Product Key.
    That's crap - This is a clean brand spanker install of Win7 and there was  nothing b4 I put the oem drivers from Toshiba back on.
    I looked at dozens of support pages and forum blogs and tried for hours to  get a copy to download - including incognito and other logins but because my  default PC name is also my MS Windows live ID the same error was repeated.
    I keep away from the non MS sites for these things and with good reason -  there were heaps of similar users with the same issue or very close to it that  had downloaded from a supposed MS copy from eValue or digital river etc and the  next
    thing was total corruption of the OS.
    EVENTUALLY I found a LIVE MS chat on a support site in the US and she gave  me a link to a slightly older version which will need updating and some reg edit  changes but so far, so good.
    The point is - what a crock !
    I should be able to just keep all my software, drivers, updates, service  packs, and versions that I have upgraded in the MS store.
    If Microsoft aren't going to support XP or Office 2003 and eventually 2007,  vista & Windows7 not far behind??? then that's still no excuse for them to  put these restrictions and limits when I OWN my copy of the software!!
    Unlike office 365 and SkyDrive space which is described in the T&C  (that we all read before ticking that radial button to agree of course) as ONLY  under a leased licence.
    IF Microsoft can support AND develop software that supports SQL2000  Servers, why is it so hard to archive and keep the same info for  everyone???

    Over the years I have had many ISP and email addresses - but now we have  finally gone almost fully virtual...
    I have a live login and MS ID 4 my SkyDrive account but I only use my MS  touch with 8.1, SkyDrive and office 365 for mobility.
    And I still like to backup to my own server!!!
    What would be good is if I can put all the software licenses and product  keys of the software and keep a record of my mac addresses for  hardware  and even static IP's in a file or a secure location within the MS online  store.
    That's where MS wants me to get my computing needs from in future and I  will always be able to retrieve it in future but what about the $$$$$ I have  spent on software, hardware and applications prior to now???
    I know u guys love 2 collect data 4 marketing analysis,
    4 example I have an old PC that is still running a server from last century  - if you knew about it a simple script would allow you to offer upgrades or at  least relevant MS products - UNLIKE the rubbish adds I just turn off or tune out 
    now...
    Why cant I add products previous online email purchases into the 1 MS live  ID account where I can keep it together? If you make that available I don't have  to have separate steam accounts, EA game accounts, ASUS and adobe accounts etc 
    etc.
    What has brought me 2 this is I was looking for my office pro 2007 disks to  rebuild a HOME USE ONLY windows 7 laptop (NO touch screen so 8.1 is no benefit  at all)
    I HAVE 4 Genuine PRODUCT KEYs for Office 2007 BUT EVERY TIME I WENT TO  DOWNLOAD the software - regardless of the key I used - I got the error message:  We are sorry, but we are unable to complete your request.•The Office 2007  Product Key
    provided is already associated with another user on this site.  Please log in with the user information originally used with this Office 2007  Product Key.
    That's crap - This is a clean brand spanker install of Win7 and there was  nothing b4 I put the oem drivers from Toshiba back on.
    I looked at dozens of support pages and forum blogs and tried for hours to  get a copy to download - including incognito and other logins but because my  default PC name is also my MS Windows live ID the same error was repeated.
    I keep away from the non MS sites for these things and with good reason -  there were heaps of similar users with the same issue or very close to it that  had downloaded from a supposed MS copy from eValue or digital river etc and the  next
    thing was total corruption of the OS.
    EVENTUALLY I found a LIVE MS chat on a support site in the US and she gave  me a link to a slightly older version which will need updating and some reg edit  changes but so far, so good.
    The point is - what a crock !
    I should be able to just keep all my software, drivers, updates, service  packs, and versions that I have upgraded in the MS store.
    If Microsoft aren't going to support XP or Office 2003 and eventually 2007,  vista & Windows7 not far behind??? then that's still no excuse for them to  put these restrictions and limits when I OWN my copy of the software!!
    Unlike office 365 and SkyDrive space which is described in the T&C  (that we all read before ticking that radial button to agree of course) as ONLY  under a leased licence.
    IF Microsoft can support AND develop software that supports SQL2000  Servers, why is it so hard to archive and keep the same info for  everyone???

  • How to Pre-Populate the user information during Assign Task operation

    Hi ,
    I have a requrirement to Pre-Populate the form fields (Name, Email, Phone etc...) when a task is assigned to a user. The users are dynamically assiged, so I am using the Find User and the Assign Task services to locate and assign the task to the user. Since I have a User variable that is a result from the Find User operation, I was hoping to retrieve the user information with the attributes of the User type.
    I tried to use the Set Value service to set the form field (Email) with the email attribute of the User object type i.e.
    /process_data/MyForm/object/data/xdp/datasets/data/Form/User/Email   ->  /process_data/facilityAuthority/object/@email
    However I get the following error when I try to do this - com.adobe.idp.dsc.util.InvalidCoercionException: Cannot coerce object: [B@335d of type: [B to type: interface org.w3c.dom.Document.
    Is it possible to retrieve the user information from the User object? If so how do I get the values for the User attributes (Name, Email & Phone etc...) so that I can populate them in the form?
    Thanks,
    Samanthapudi

    Hi Han Dao,
    If you are facing an exception of the form "com.adobe.idp.dsc.util.InvalidCoercionException: Cannot coerce object: [B@335d of type: [B to type: interface org.w3c.dom.Document.", It is because the system is trying to cast a Byte Stream into w3c Document and failing. To resolve this we can explicitly cast this byte stream to appropriate data type (String in previous example). To do so we can use a SetValue operation.
    As an example
    Setting
    /process_data/MyForm/object/data/xdp/datasets/data/Form/User/Email   -> /process_data/facilityAuthority/object/@email
    results in the exception
    so we can modify it to
    /process_data/MyForm/object/data/xdp/datasets/data/Form/User/Email   -> string(/process_data/facilityAuthority/object/@email)
    Please let me know if this does not resolve your issue.
    Thanks

  • BAPI or RFC that contains the user information

    Hi,
    Please let me know if there is any BAPI or RFC that contains the user information like user IDs, passwords etc. I need that to use in the XI. I am using SAP system as the target system or the source system .
    Thanks
    kanan

    Hello Kanan
    Just call function module BAPI_USER_GET_DETAIL.
    Regards
      Uwe

  • Creation of dynamic pages on the fly based on the user information provided

    Hi,
    I would like to know how to pass the parameters between two pages in a page group.
    If the user submits some data from 1st page(say clicking of the submit button)the next page should be displayed automatically and the data that has been appended to the URL should be collected by the following page and should be ready for processing.
    Kindly provide me pointers to do the same.
    Thanks and regards,
    Aditya

    Hi,
    virtual keyfigure and virtual characteristic are infoobjects in infoprovider that not store data/values,but populated in query execution time, via user exit
    (zxrsrtop, zxrsru02, zxrsruzzz).
    goto transaction SMOD, enter enhancement RSR00002 and display the documentation. In there you'll find some sample coding (the include plus the coding necessary in that include).check the following blog.
    /people/sanyam.kapur/blog/2005/04/30/custom-fields-and-bw-extractors-making-a-mixed-marriage-work-part-ii
    I have "How to" document give me ur email id , will send u..

  • How do I get the user information for a page?

    I would like to display information about the person that created a page in CQ.  I know I can get the createdBy information from the page properties, but how can I turn that into a user object where I can get more detialed information about that user?

    If you are within an OSGi bundle you can use the SlingRepository Service. Now it depends how you develop your OSGi services and components. I use the maven scr plugin for this. With this plugin it is possible to get references to services with java annotaions.
    Example:
    @Component(name="SampleService",
            label = "SampleService",
            description = "SampleService",
            immediate = true, enabled = true, metatype = true)
    @Services({ @Service(value = SampleService.class) })
    @Properties({
    @Property(name = "service.description", value = "SampleService"),
    @Property(name = "service.vendor", value = ") })
    public class SampleServiceImpl implements SampleService
    @Reference(policy = ReferencePolicy.STATIC)
    private SlingRepository repository;
        public void openAdminSession() {
            Session session = null;
            if (repository != null) {
                try {
                    session = repository.loginAdministrative(null);
                    //do something here
                } catch (RepositoryException e) {
                    LOG.error("Unable to open admin session:" + e.toString());
                } finally{
                                              if(session != null){
                          session.logout();
    To access a service from a JSP page you can use the reference of the SlingScriptHelper. You have to use the <cq:defineObjects/> tag.
    Example jsp:
    <cq:defineObjects/>
    SlingRepository repository = sling.getService(SlingRepository.class);
    Session session = null;
            if (repository != null) {
                try {
                    session = repository.loginAdministrative(null);
                    //do something here
                } catch (RepositoryException e) {
                    LOG.error("Unable to open admin session:" + e.toString());
                } finally{
                                              if(session != null){
                          session.logout();

  • How to verify the user information pass by the form with a stored procedure?

    Hi,
    I would like to know how to verify user information pass by the form with a stored procedure.
    I want make a portal which accepts to new user registration, but I want verify the new user's informations (like the name don't contain a number etc).
    Thanks for your help
    regards
    jla

    Hi Samson,
    You can use the UI API to do this. You can catch the form_ADD event and then validate the input from the users. You can even block the event from completing (and stop the document from being added) if your code finds some incorrect data using the bubbleEvent functionality.
    I don't have one specific example to show you, but if you look at some of the SDK samples (for example C:\Program Files\SAP\SAP Business One SDK\Samples\COM UI\VB.NET\02.CatchingEvents) to see how to work with events, you can then create your own validation to ensure the users data is valid.
    Regards,
    Niall

  • What are the ways to create RESTful webservices to expose backend data?

    Hi All,
    As far as i know, we can create RESTful webservices using,
    1. SAP Netweaver gateway.
    2. SAP PI using third party adapter.
    Please tell me if there is any other ways to create RESTful webservices in SAP.
    Thanks & Regards,
    Naseem

    Hi Haritha,
    Go to Tcode SE16, give your ODS active Table name and give width of output list as 1023.
    Now run transaction to see your data and then click Settings --> User parameters and Select ALV Grid Display.
    Now you should see and Excel Icon on top, click on it then select Table , then
    Microsoft Excel and it will open your data with all columns you want.
    I just tried for 213 columns
    Hope this helps.
    Thanks
    CK

  • Not able to add groups to the user ODSEE via OIM 11g R2

    Hi,
    I have created some groups in ODSEE and ran the recon job to sync these groups in OIM 11g R2.
    Groups are populated in OIM 11g R2 and while raising the request for ODSEE Application Instance I can see these groups.
    Now following are the issues I am facing :
    1. ODSEE groups are not getting displayed in Catalog ( I have ran the Entittlement-List job also)
    2. When I request for a group while creating the request, the group is not getting assigned to the user in ODSEE, wherein user is getting created in ODSEE successfully.
    Please help.
    Thanks

    Please let me know what could be the reason of not adding the groups to the user in ODSEE.
    I was able to add the groups successfully to user by assigning the groups while raising the request in OIM 11g R1.
    But the same is not working in OIM 11g R2, if I check the OIM logs it is calling the function ADDUSERTOGROUP but the groups are not getting assigned to user.
    Thanks

  • Can you Identity users primary device assgined by the user agent via Powershell?

    Hi,
    I've been using the Get-CMUserDeviceAffinity to find a users primary device, however i'm experiancing problems when a user has more than 1 primary device (I have 2, my laptop and an RDS server). Is there a way to query a users
    primary device filtered on the User Affinity type? i.e. User Agent assigned?
    Regards,
    Chris
    Chris Gibson

    it looks like you want Source "4", per the dbo.UserMachineSources table:
    SourceID            Name
    1            Software Catalog
    2            Administrator
    3            User
    4            Usage Agent
    5            Device Management
    6            OSD
    7            Fast Install
    8            Exchange Server connector
    Mike Crowley | MVP
    My Blog --
    Baseline Technologies

  • Update table via RESTful webservice

    Hi,
    I wonder if it is possible to update or insert data with an apex published restful webservice. Whenever I try to test a web service reference with html PUT method I get an 401 - unauthorized.
    So is it possible in general to modify and add data to tables with apex published RESTful webservice?
    Best regards, Tobias
    Edited by: tterpe on 20.10.2010 12:12

    I believe UPDATE statement would be a better option if it is a ZTABLE(database table), Incase if it a internal table use MODIFY statement.
    Regards
    Kathirvel

  • Editing the user information in R12

    Hi Experts,
    I have created a user "monitor" in the R12.1.1, now I want to change its email address after logging in as user "monitor". Please tell me how can I edit the email address of the user after logging in as user by itself and also as sysadmin.
    Thanks
    -Naveed-

    Hi,
    You can update the email by logging to (System Administrator responsibility > Security > User > Define), or from user preferences (Note: 746255.1 - Allow SYSADMIN to Change Notification Preference for Users From Web Interface).
    Thanks,
    Hussein

  • Some of the user information is displaying as domain\userid in site web analytics report under top visitors list

    Hi,
    When I was checking the top visitors list under web analytics report I see few user names as full name and most of other users as domain\userid. How can i show all the list as user full name.
    We are using SharePoint 2010.
    Thanks in advance!!!!!!
    Rithu

    Hi,
    This might be problem with User Profile service configuration settings.  Please refer to the similar post.
    http://social.technet.microsoft.com/Forums/en-US/0857f140-84f8-4c7c-a0e0-7b3e79d9619b/sharepoint-server-2010-display-name-issue-with-top-visitors-web-analytic-report?forum=sharepointadminprevious
    Please mark it answered, if your problem resolved.

  • How do I find the users connected via afptcp

    I want to find the list of users connected to an OES2 Linux server.

    Originally Posted by ataubman
    Start with the documentation Novell Documentation . If you have further issues, please start your own fresh thread with full problem and system details, as your problem has nothing to do with the OP's.
    I've already looked at the documentation and have another thread going, I'm just looking for any info from any source. That source may be watching this thread and not the other.

  • How do I receive the download information via e-mail for photoshop elements again?

    My computer crashed and all data was lost.  This software was purchased online about a year ago.

    If you purchased directly from Adobe click the red Adobe logo at the top left of this forum page then go to My Adobe. After you log-in with your Adobe ID you can explore your purchase history and available downloads.

Maybe you are looking for