<?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>Question Re: HANA New User Creation - program/procedure/Script in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/hana-new-user-creation-program-procedure-script/qaa-p/11031134#M4057136</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SAP HANA doesn't have to run specific report or script in order to create a user.&lt;/P&gt;&lt;P&gt;In fact the user creation is a single SQL command (CREATE USER... ) and the SAP HANA Studio simply provides an UI to that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Additional commands may be used to manage privileges, but the core functionality really is just a single command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyhow, you can always activate the JDBC trace for your connection to see the exact commands that get send by SAP&amp;nbsp; HANA Studio.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Lars&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Apr 2015 12:39:57 GMT</pubDate>
    <dc:creator>lbreddemann</dc:creator>
    <dc:date>2015-04-09T12:39:57Z</dc:date>
    <item>
      <title>HANA New User Creation - program/procedure/Script</title>
      <link>https://community.sap.com/t5/technology-q-a/hana-new-user-creation-program-procedure-script/qaq-p/11031133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In SAP-ABAP-BASIS, The Tcode SU01 is to create a new user. The SU01 will call the program SAPMSUU0. We will get the program details through SE93. We can check the logic by going through the program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In HANA we can create the new user like below (other way:&amp;nbsp; CREATE USER.....):&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/680991" width="450" /&gt;&lt;/P&gt;&lt;P&gt;I would like to know the program/procedure/Script which is running behind to create a USER? How to get the details?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Apr 2015 12:35:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/hana-new-user-creation-program-procedure-script/qaq-p/11031133</guid>
      <dc:creator>hemanth_kumar21</dc:creator>
      <dc:date>2015-04-09T12:35:28Z</dc:date>
    </item>
    <item>
      <title>Re: HANA New User Creation - program/procedure/Script</title>
      <link>https://community.sap.com/t5/technology-q-a/hana-new-user-creation-program-procedure-script/qaa-p/11031134#M4057136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SAP HANA doesn't have to run specific report or script in order to create a user.&lt;/P&gt;&lt;P&gt;In fact the user creation is a single SQL command (CREATE USER... ) and the SAP HANA Studio simply provides an UI to that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Additional commands may be used to manage privileges, but the core functionality really is just a single command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyhow, you can always activate the JDBC trace for your connection to see the exact commands that get send by SAP&amp;nbsp; HANA Studio.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Lars&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Apr 2015 12:39:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/hana-new-user-creation-program-procedure-script/qaa-p/11031134#M4057136</guid>
      <dc:creator>lbreddemann</dc:creator>
      <dc:date>2015-04-09T12:39:57Z</dc:date>
    </item>
    <item>
      <title>Re: HANA New User Creation - program/procedure/Script</title>
      <link>https://community.sap.com/t5/technology-q-a/hana-new-user-creation-program-procedure-script/qaa-p/11031135#M4057137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot Lars for your Quick response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you said, User creation is a Single SQL command. I agree with your point.&lt;/P&gt;&lt;P&gt;Suppose if I am copying a user, it has to get the reference user details like roles, privileges....so many things.. So, There will be a single procedure which will do the total functionality by using individual scripts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway thanks for giving the JDBC trace Idea. &lt;/P&gt;&lt;P&gt;(I am going through your document &lt;A __default_attr="84356" __jive_macro_name="blogpost" class="jive_macro jive_macro_blogpost" data-orig-content="SPS 6 ante portas - new features in SAP HANA Studio revision 55" href="https://community.sap.com/"&gt;&lt;/A&gt; for JDBC trace &lt;SPAN __jive_emoticon_name="grin" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1249/images/emoticons/grin.gif"&gt;&lt;/SPAN&gt;&amp;nbsp; )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Apr 2015 13:11:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/hana-new-user-creation-program-procedure-script/qaa-p/11031135#M4057137</guid>
      <dc:creator>hemanth_kumar21</dc:creator>
      <dc:date>2015-04-09T13:11:01Z</dc:date>
    </item>
    <item>
      <title>Re: HANA New User Creation - program/procedure/Script</title>
      <link>https://community.sap.com/t5/technology-q-a/hana-new-user-creation-program-procedure-script/qaa-p/11031136#M4057138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, there is no actual proper "copy user" functionality that would cover the role assignment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you look around a bit here on SCN you'll find plenty of approaches to deal with mass user creation, template users and "user copy".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just use the search functionality.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Apr 2015 14:09:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/hana-new-user-creation-program-procedure-script/qaa-p/11031136#M4057138</guid>
      <dc:creator>lbreddemann</dc:creator>
      <dc:date>2015-04-09T14:09:15Z</dc:date>
    </item>
    <item>
      <title>Re: HANA New User Creation - program/procedure/Script</title>
      <link>https://community.sap.com/t5/technology-q-a/hana-new-user-creation-program-procedure-script/qaa-p/11031137#M4057139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lars,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you said, I got so many links which covers "&lt;SPAN style="color: #333333; font-size: 12px;"&gt;user copy" with role assignments in SCN except Kerberos and X509.&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;I want to create a user with Kerberos and X509 options(As the reference user having these checks). I am not able to get any syntax or example for the same.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;&lt;A href="http://help.sap.com/saphelp_hanaplatform/helpdata/en/20/d5ddb075191014b594f7b11ff08ee2/content.htm" title="http://help.sap.com/saphelp_hanaplatform/helpdata/en/20/d5ddb075191014b594f7b11ff08ee2/content.htm"&gt;CREATE USER - SAP HANA SQL and System Views Reference - SAP Library&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/681724" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/681761" width="450" /&gt;&lt;/P&gt;&lt;P&gt;Can you please suggest?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Apr 2015 09:37:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/hana-new-user-creation-program-procedure-script/qaa-p/11031137#M4057139</guid>
      <dc:creator>hemanth_kumar21</dc:creator>
      <dc:date>2015-04-10T09:37:43Z</dc:date>
    </item>
    <item>
      <title>Re: HANA New User Creation - program/procedure/Script</title>
      <link>https://community.sap.com/t5/technology-q-a/hana-new-user-creation-program-procedure-script/qaa-p/11031138#M4057140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, now this is a different question...&lt;/P&gt;&lt;P&gt;What exactly don't you understand from the documentation?&lt;/P&gt;&lt;P&gt;The WITH IDENTITY clause allows to specify addtional identity mechanisms, KERBEROS and &lt;SPAN class="baec5a81-e4d6-4674-97f3-e9220f0136c1" style="white-space: nowrap;"&gt;X509&lt;A href="#" style="margin: 0px; border: currentColor; left: 0px; top: 0px; width: 16px; height: 16px; right: 0px; bottom: 0px; overflow: hidden; vertical-align: middle; float: none; display: inline; white-space: nowrap; position: static !important;" title="Call: X509"&gt;&lt;IMG src="https://community.sap.com/" style="margin: 0px; border: currentColor; left: 0px; top: 0px; width: 16px; height: 16px; right: 0px; bottom: 0px; overflow: hidden; vertical-align: middle; float: none; display: inline; white-space: nowrap; position: static !important;" title="Call: X509" /&gt;&lt;/A&gt;&lt;/SPAN&gt; being two of them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now you would specify:&lt;/P&gt;&lt;P&gt;CREATE/ALTER USER...&lt;/P&gt;&lt;P&gt;WITH IDENTITY 'MY_KERBEROS_USERID'&amp;nbsp; FOR &lt;SPAN class="baec5a81-e4d6-4674-97f3-e9220f0136c1" style="white-space: nowrap;"&gt;KERBEROS&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and likewise for &lt;SPAN class="baec5a81-e4d6-4674-97f3-e9220f0136c1" style="white-space: nowrap;"&gt;X509&lt;A href="#" style="margin: 0px; border: currentColor; left: 0px; top: 0px; width: 16px; height: 16px; right: 0px; bottom: 0px; overflow: hidden; vertical-align: middle; float: none; display: inline; white-space: nowrap; position: static !important;" title="Call: X509"&gt;&lt;IMG src="https://community.sap.com/" style="margin: 0px; border: currentColor; left: 0px; top: 0px; width: 16px; height: 16px; right: 0px; bottom: 0px; overflow: hidden; vertical-align: middle; float: none; display: inline; white-space: nowrap; position: static !important;" title="Call: X509" /&gt;&lt;/A&gt;&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pinging &lt;A __default_attr="6396" __jive_macro_name="user" class="jive_macro_user jive_macro" data-objecttype="3" data-orig-content="Andrea Kristen" href="https://community.sap.com/"&gt;&lt;/A&gt;: looks like there is a needs for better integration of the SQL Reference with the Security Guide and for SQL command examples.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Lars&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Apr 2015 09:46:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/hana-new-user-creation-program-procedure-script/qaa-p/11031138#M4057140</guid>
      <dc:creator>lbreddemann</dc:creator>
      <dc:date>2015-04-10T09:46:52Z</dc:date>
    </item>
    <item>
      <title>Re: HANA New User Creation - program/procedure/Script</title>
      <link>https://community.sap.com/t5/technology-q-a/hana-new-user-creation-program-procedure-script/qaa-p/11031139#M4057141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lars,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for the heads-up, I'll discuss this with the documentation team.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andrea&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Apr 2015 09:57:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/hana-new-user-creation-program-procedure-script/qaa-p/11031139#M4057141</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-04-10T09:57:45Z</dc:date>
    </item>
    <item>
      <title>Re: HANA New User Creation - program/procedure/Script</title>
      <link>https://community.sap.com/t5/technology-q-a/hana-new-user-creation-program-procedure-script/qaa-p/11031140#M4057142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lars,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot.&lt;/P&gt;&lt;P&gt;Now I am able to create user with KERBEROS option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Up to now I am trying with the below syntax&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
&lt;P&gt;CREATE USER test_1 password Badpassword123&amp;nbsp; valid until '01.01.2016 'WITH IDENTITY 'MY_KERBEROS_USERID'&amp;nbsp; FOR KERBEROS ;&lt;/P&gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could not execute 'CREATE USER test_1 password Badpassword123 valid until '01.01.2016 'WITH IDENTITY ...'&lt;/P&gt;&lt;P&gt;SAP DBTech JDBC: [257]: sql syntax error: incorrect syntax near "WITH": line 1 col 74 (at pos 74)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I have deleted the valid until '01.01.2016' and able to create user successfully.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am almost done with my requirement &lt;SPAN __jive_emoticon_name="grin" __jive_macro_name="emoticon" class="jive_emote jive_macro" src="https://community.sap.com/1249/images/emoticons/grin.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Trying with X509... Seems to be syntax error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
&lt;P&gt;CREATE USER &lt;SPAN style="color: rgba(0, 0, 0, 0); font-family: helvetica, arial; font-size: 12px;"&gt;test_2&lt;/SPAN&gt; password Badpassword123&amp;nbsp; WITH IDENTITY 'MY_KERBEROS_USERID'&amp;nbsp; FOR KERBEROS &lt;/P&gt;
&lt;P&gt;'test' ISSUER for x509 ;&lt;/P&gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Apr 2015 10:08:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/hana-new-user-creation-program-procedure-script/qaa-p/11031140#M4057142</guid>
      <dc:creator>hemanth_kumar21</dc:creator>
      <dc:date>2015-04-10T10:08:08Z</dc:date>
    </item>
  </channel>
</rss>

