<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: AUTHORITY-CHECK for other user in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/authority-check-for-other-user/m-p/1087908#M99937</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for all your replies. The FM authority_check seems to be the way to go &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Hans&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 Nov 2005 10:07:37 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-11-07T10:07:37Z</dc:date>
    <item>
      <title>AUTHORITY-CHECK for other user</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authority-check-for-other-user/m-p/1087901#M99930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would need to run an AUTHORITY-CHECK on a certain authority object, but I have to run the AUTHORITY-CHECK not for the currently logged in user, but for a different sap userId. How can I do this? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AUTHORITY-CHECK does not allow you to supply a userId as parameter. Changing sy-uname is probably not possible, and even if it was, this solution would just be too stupid and ugly for me to even try. There must be some simpler/better solution?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Business Case for this is very simple: In my dialog program the currently logged in user is presented with a form to enter a SAP-userId, and attach a document. The user should only be allowed to post this form, if the supplied userId is authorized to receive this kind of document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for any help in advance,&lt;/P&gt;&lt;P&gt;-Hans&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Nov 2005 15:12:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authority-check-for-other-user/m-p/1087901#M99930</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-03T15:12:54Z</dc:date>
    </item>
    <item>
      <title>Re: AUTHORITY-CHECK for other user</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authority-check-for-other-user/m-p/1087902#M99931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hans,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think there are little chances to switch the user context. The only solution I see, is based on batch jobs, which you could run under a different user. But this contradicts a dialog application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Rabanus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Nov 2005 15:40:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authority-check-for-other-user/m-p/1087902#M99931</guid>
      <dc:creator>former_member517</dc:creator>
      <dc:date>2005-11-03T15:40:11Z</dc:date>
    </item>
    <item>
      <title>Re: AUTHORITY-CHECK for other user</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authority-check-for-other-user/m-p/1087903#M99932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hans,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can do the posting part in RFC. In the RFC you can pass the user id and checks and all will be executed for that user with which RFC is being accessed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Anuranjan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Nov 2005 15:42:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authority-check-for-other-user/m-p/1087903#M99932</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-03T15:42:33Z</dc:date>
    </item>
    <item>
      <title>Re: AUTHORITY-CHECK for other user</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authority-check-for-other-user/m-p/1087904#M99933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hans!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sounds like an own authority-check (is there a standard transaction where you can enter the user-id?). Why don't you just add user-id as a field in the authority object?&lt;/P&gt;&lt;P&gt;The test would be, if your user is allowed to send to this user-id, so maintenance might be a little strange.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it's really own development, then your check is not necessarily going for authority: you might test for a 'customizing' entry in an own table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Christian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Nov 2005 15:54:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authority-check-for-other-user/m-p/1087904#M99933</guid>
      <dc:creator>christian_wohlfahrt</dc:creator>
      <dc:date>2005-11-03T15:54:48Z</dc:date>
    </item>
    <item>
      <title>Re: AUTHORITY-CHECK for other user</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authority-check-for-other-user/m-p/1087905#M99934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hans,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;have a look to this function : SUSR_USER_AUTH_FOR_OBJ_GET&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Frédéric&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Nov 2005 15:56:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authority-check-for-other-user/m-p/1087905#M99934</guid>
      <dc:creator>FredericGirod</dc:creator>
      <dc:date>2005-11-03T15:56:58Z</dc:date>
    </item>
    <item>
      <title>Re: AUTHORITY-CHECK for other user</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authority-check-for-other-user/m-p/1087906#M99935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hans,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please follow the link below to see my answer for an earlier post on the same subject.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="316182"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Ramki Maley.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Nov 2005 15:57:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authority-check-for-other-user/m-p/1087906#M99935</guid>
      <dc:creator>ramki_maley</dc:creator>
      <dc:date>2005-11-03T15:57:21Z</dc:date>
    </item>
    <item>
      <title>Re: AUTHORITY-CHECK for other user</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authority-check-for-other-user/m-p/1087907#M99936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hans,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use the function module 'authority_check' to check whether a specific user has authorization for the required authorization object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Giridhar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Nov 2005 16:18:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authority-check-for-other-user/m-p/1087907#M99936</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-03T16:18:05Z</dc:date>
    </item>
    <item>
      <title>Re: AUTHORITY-CHECK for other user</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authority-check-for-other-user/m-p/1087908#M99937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for all your replies. The FM authority_check seems to be the way to go &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Hans&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Nov 2005 10:07:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authority-check-for-other-user/m-p/1087908#M99937</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-07T10:07:37Z</dc:date>
    </item>
  </channel>
</rss>

