<?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 How to retrieve the login password in encoded format in SASEG in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-retrieve-the-login-password-in-encoded-format-in-SASEG/m-p/488870#M31579</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need your inputs in retrieving the login password in encoded format.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know we can use &amp;amp;sysuser to retrieve the login&amp;nbsp;user. But for one requirement, we need to capture the login password as well.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please let me know if you have any idea on this.?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I got&amp;nbsp;the&amp;nbsp;below&amp;nbsp;code to retrieve the user/password for authentication domain..I think it wont be helpful for my requirement..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;%macro Auth(AuthenticationDomain);&lt;BR /&gt;%global Password UserID;&lt;BR /&gt;data _null_;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; length uri UserId Password UserId AuthId AuthenticationDomain $256;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; rc=metadata_getnobj("omsobj:AuthenticationDomain?@Name='&amp;amp;AuthenticationDomain'",1,uri);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; rc=metadata_getattr(uri,"Id",AuthId);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; rc=1;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; tn=1;&lt;BR /&gt;do while(rc&amp;gt;0);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; rc=metadata_getnasn("OMSOBJ:AuthenticationDomain\"!!AuthId,"Logins",tn,uri);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if rc&amp;gt;0 then do;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; arc=metadata_getattr(uri,"UserID",UserID);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; arc=metadata_getattr(uri,"Password",Password);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; call symput("UserID",compress(UserID));&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; call symput("Password",compress(Password));&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; tn=tn+1;&lt;BR /&gt;end;&lt;BR /&gt;run;&lt;BR /&gt;%put NOTE: For AuthenticationDomain &amp;amp;AuthenticationDomain., the UserID &amp;amp;UserID has password &amp;amp;Password.. Executed as &amp;amp;sysuserid..;&lt;BR /&gt;%mend;&lt;/P&gt;&lt;P&gt;%Auth(Oracle_BII)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sampath&lt;/P&gt;</description>
    <pubDate>Wed, 22 Aug 2018 13:43:06 GMT</pubDate>
    <dc:creator>bmsampath</dc:creator>
    <dc:date>2018-08-22T13:43:06Z</dc:date>
    <item>
      <title>How to retrieve the login password in encoded format in SASEG</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-retrieve-the-login-password-in-encoded-format-in-SASEG/m-p/488870#M31579</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need your inputs in retrieving the login password in encoded format.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know we can use &amp;amp;sysuser to retrieve the login&amp;nbsp;user. But for one requirement, we need to capture the login password as well.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please let me know if you have any idea on this.?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I got&amp;nbsp;the&amp;nbsp;below&amp;nbsp;code to retrieve the user/password for authentication domain..I think it wont be helpful for my requirement..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;%macro Auth(AuthenticationDomain);&lt;BR /&gt;%global Password UserID;&lt;BR /&gt;data _null_;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; length uri UserId Password UserId AuthId AuthenticationDomain $256;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; rc=metadata_getnobj("omsobj:AuthenticationDomain?@Name='&amp;amp;AuthenticationDomain'",1,uri);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; rc=metadata_getattr(uri,"Id",AuthId);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; rc=1;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; tn=1;&lt;BR /&gt;do while(rc&amp;gt;0);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; rc=metadata_getnasn("OMSOBJ:AuthenticationDomain\"!!AuthId,"Logins",tn,uri);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if rc&amp;gt;0 then do;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; arc=metadata_getattr(uri,"UserID",UserID);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; arc=metadata_getattr(uri,"Password",Password);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; call symput("UserID",compress(UserID));&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; call symput("Password",compress(Password));&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; tn=tn+1;&lt;BR /&gt;end;&lt;BR /&gt;run;&lt;BR /&gt;%put NOTE: For AuthenticationDomain &amp;amp;AuthenticationDomain., the UserID &amp;amp;UserID has password &amp;amp;Password.. Executed as &amp;amp;sysuserid..;&lt;BR /&gt;%mend;&lt;/P&gt;&lt;P&gt;%Auth(Oracle_BII)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sampath&lt;/P&gt;</description>
      <pubDate>Wed, 22 Aug 2018 13:43:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-retrieve-the-login-password-in-encoded-format-in-SASEG/m-p/488870#M31579</guid>
      <dc:creator>bmsampath</dc:creator>
      <dc:date>2018-08-22T13:43:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to retrieve the login password in encoded format in SASEG</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-retrieve-the-login-password-in-encoded-format-in-SASEG/m-p/488891#M31580</link>
      <description>&lt;P&gt;DefaultAuth (and other authentication domains apart form @saspw) points to an outside authentication source (the operating system, LDAP, Kerberos, ...). At login, the entered password is checked with a call to that. Never is an encoded password sent back to SAS. No proper authentication source will ever reveal an encoded password, as that would be a severe security hole.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Aug 2018 14:11:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-retrieve-the-login-password-in-encoded-format-in-SASEG/m-p/488891#M31580</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-08-22T14:11:40Z</dc:date>
    </item>
  </channel>
</rss>

