<?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: Getting Window's user logon ID ? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-window-s-user-logon-id/m-p/901155#M55215</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;e.g.&lt;/P&gt;&lt;P&gt;1)&lt;/P&gt;&lt;P&gt;DATA: username TYPE string.&lt;/P&gt;&lt;P&gt;CALL METHOD cl_gui_frontend_services=&amp;gt;get_user_name&lt;/P&gt;&lt;P&gt;  CHANGING    user_name            = username&lt;/P&gt;&lt;P&gt;   EXCEPTIONS    cntl_error           = 1&lt;/P&gt;&lt;P&gt;    error_no_gui         = 2&lt;/P&gt;&lt;P&gt;       not_supported_by_gui = 3&lt;/P&gt;&lt;P&gt;                                   OTHERS               = 4.&lt;/P&gt;&lt;P&gt;CALL METHOD  cl_gui_cfw=&amp;gt;flush( ).&lt;/P&gt;&lt;P&gt;WRITE: /  username.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) terminal:&lt;/P&gt;&lt;P&gt;cl_gui_frontend_services=&amp;gt;GET_COMPUTER_NAME&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;grx Andreas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Feb 2005 07:15:50 GMT</pubDate>
    <dc:creator>andreas_mann3</dc:creator>
    <dc:date>2005-02-08T07:15:50Z</dc:date>
    <item>
      <title>Getting Window's user logon ID ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-window-s-user-logon-id/m-p/901153#M55213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;Was wondering if there is a way to get the window's logon&lt;/P&gt;&lt;P&gt;user ID, Domain using ABAP code/function module.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Basically I am trying to get all the users logged on to different terminals with their window's logon user id.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers, &lt;/P&gt;&lt;P&gt;Neeth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Feb 2005 06:44:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-window-s-user-logon-id/m-p/901153#M55213</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-02-08T06:44:28Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Window's user logon ID ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-window-s-user-logon-id/m-p/901154#M55214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not sure of a function in SAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you just want their IP address from where they logged on and their SAP user id use "THUSRINFO" function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want their windows logon info, you could try running a VB script from abap to get the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Feb 2005 07:09:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-window-s-user-logon-id/m-p/901154#M55214</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2005-02-08T07:09:15Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Window's user logon ID ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-window-s-user-logon-id/m-p/901155#M55215</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;e.g.&lt;/P&gt;&lt;P&gt;1)&lt;/P&gt;&lt;P&gt;DATA: username TYPE string.&lt;/P&gt;&lt;P&gt;CALL METHOD cl_gui_frontend_services=&amp;gt;get_user_name&lt;/P&gt;&lt;P&gt;  CHANGING    user_name            = username&lt;/P&gt;&lt;P&gt;   EXCEPTIONS    cntl_error           = 1&lt;/P&gt;&lt;P&gt;    error_no_gui         = 2&lt;/P&gt;&lt;P&gt;       not_supported_by_gui = 3&lt;/P&gt;&lt;P&gt;                                   OTHERS               = 4.&lt;/P&gt;&lt;P&gt;CALL METHOD  cl_gui_cfw=&amp;gt;flush( ).&lt;/P&gt;&lt;P&gt;WRITE: /  username.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) terminal:&lt;/P&gt;&lt;P&gt;cl_gui_frontend_services=&amp;gt;GET_COMPUTER_NAME&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;grx Andreas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Feb 2005 07:15:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-window-s-user-logon-id/m-p/901155#M55215</guid>
      <dc:creator>andreas_mann3</dc:creator>
      <dc:date>2005-02-08T07:15:50Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Window's user logon ID ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-window-s-user-logon-id/m-p/901156#M55216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nameeth,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you could also use function module GUI_GET_DESKTOP_INFO. With parameter TYPE = 5, you will get the name of the logon ID. Please check documentation on this function module for more info.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let us know if it helped. Best regards,&lt;/P&gt;&lt;P&gt;Alvaro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Feb 2005 08:04:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-window-s-user-logon-id/m-p/901156#M55216</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-02-08T08:04:13Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Window's user logon ID ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-window-s-user-logon-id/m-p/901157#M55217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Got it! (points for solved &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;..Thanks for the help guys.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Feb 2005 08:37:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-window-s-user-logon-id/m-p/901157#M55217</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-02-08T08:37:35Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Window's user logon ID ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-window-s-user-logon-id/m-p/901158#M55218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Doesn't this FM only work for the user running the program?  How would it provide the logon ID for all of the users logged on to the SAP system?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have I misunderstood the problem?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Feb 2005 14:23:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-window-s-user-logon-id/m-p/901158#M55218</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-02-08T14:23:28Z</dc:date>
    </item>
  </channel>
</rss>

