<?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: C# code to change Windows Pass in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/C-code-to-change-Windows-Pass/m-p/88409#M38956</link>
    <description>I see. Makes sense. That would be quite a large object. Have you seen any performance issues with doing that? Although, I suppose now that I think about it, an object that contains images for Surface Automation would likely be much larger than an object that just has the various functions/code in it. So I guess there's nothing wrong with doing that except that you'd have a big list in the action drop down. Interesting.&lt;BR /&gt;&lt;BR /&gt;I glanced at the VB.NET code for Change Password and it is fairly simple. It shouldn't be too hard to convert it to C#, but you'll want some classes or whatever might be in the Global Code to go with it as well.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Dave Morris&lt;BR /&gt;3Ci @ Southern Company&lt;BR /&gt;Atlanta, GA&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Fri, 14 Feb 2020 13:53:00 GMT</pubDate>
    <dc:creator>david.l.morris</dc:creator>
    <dc:date>2020-02-14T13:53:00Z</dc:date>
    <item>
      <title>C# code to change Windows Pass</title>
      <link>https://community.blueprism.com/t5/Product-Forum/C-code-to-change-Windows-Pass/m-p/88406#M38953</link>
      <description>Guys,&lt;BR /&gt;&lt;BR /&gt;Do you have a C# code to change Windows Pass. Must have&amp;nbsp; input as NewPass and OldPass.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Ionut&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Cohen&lt;BR /&gt;RPA Developer&lt;BR /&gt;&lt;BR /&gt;Romania&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 14 Feb 2020 09:23:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/C-code-to-change-Windows-Pass/m-p/88406#M38953</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-02-14T09:23:00Z</dc:date>
    </item>
    <item>
      <title>RE: C# code to change Windows Pass</title>
      <link>https://community.blueprism.com/t5/Product-Forum/C-code-to-change-Windows-Pass/m-p/88407#M38954</link>
      <description>Is there a reason it needs to be C#? Blue Prism's Login Agent VBO already has VB.NET code that does the same thing.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Dave Morris&lt;BR /&gt;3Ci @ Southern Company&lt;BR /&gt;Atlanta, GA&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 14 Feb 2020 12:00:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/C-code-to-change-Windows-Pass/m-p/88407#M38954</guid>
      <dc:creator>david.l.morris</dc:creator>
      <dc:date>2020-02-14T12:00:00Z</dc:date>
    </item>
    <item>
      <title>RE: C# code to change Windows Pass</title>
      <link>https://community.blueprism.com/t5/Product-Forum/C-code-to-change-Windows-Pass/m-p/88408#M38955</link>
      <description>there is one!&amp;nbsp; I migrate all VB code to C#. And I need this&amp;nbsp; to put all the basic&amp;nbsp; functions into one big object that has all in it. This way I can share one object instead of sharing 20...&lt;BR /&gt;&lt;BR /&gt;Thanks for your answer!&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Cohen&lt;BR /&gt;RPA Developer&lt;BR /&gt;&lt;BR /&gt;Romania&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 14 Feb 2020 13:08:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/C-code-to-change-Windows-Pass/m-p/88408#M38955</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-02-14T13:08:00Z</dc:date>
    </item>
    <item>
      <title>RE: C# code to change Windows Pass</title>
      <link>https://community.blueprism.com/t5/Product-Forum/C-code-to-change-Windows-Pass/m-p/88409#M38956</link>
      <description>I see. Makes sense. That would be quite a large object. Have you seen any performance issues with doing that? Although, I suppose now that I think about it, an object that contains images for Surface Automation would likely be much larger than an object that just has the various functions/code in it. So I guess there's nothing wrong with doing that except that you'd have a big list in the action drop down. Interesting.&lt;BR /&gt;&lt;BR /&gt;I glanced at the VB.NET code for Change Password and it is fairly simple. It shouldn't be too hard to convert it to C#, but you'll want some classes or whatever might be in the Global Code to go with it as well.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Dave Morris&lt;BR /&gt;3Ci @ Southern Company&lt;BR /&gt;Atlanta, GA&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 14 Feb 2020 13:53:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/C-code-to-change-Windows-Pass/m-p/88409#M38956</guid>
      <dc:creator>david.l.morris</dc:creator>
      <dc:date>2020-02-14T13:53:00Z</dc:date>
    </item>
    <item>
      <title>RE: C# code to change Windows Pass</title>
      <link>https://community.blueprism.com/t5/Product-Forum/C-code-to-change-Windows-Pass/m-p/88410#M38957</link>
      <description>yeah, this did the trick.&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;CODE&gt;&lt;SPAN class="typ"&gt;PrincipalContext&lt;/SPAN&gt;&lt;SPAN class="pln"&gt; pc &lt;/SPAN&gt;&lt;SPAN class="pun"&gt;=&lt;/SPAN&gt;&lt;SPAN class="pln"&gt; &lt;/SPAN&gt;&lt;SPAN class="kwd"&gt;new&lt;/SPAN&gt;&lt;SPAN class="pln"&gt; &lt;/SPAN&gt;&lt;SPAN class="typ"&gt;PrincipalContext&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;(&lt;/SPAN&gt;&lt;SPAN class="typ"&gt;ContextType&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;.&lt;/SPAN&gt;&lt;SPAN class="typ"&gt;Domain&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;);&lt;/SPAN&gt;&lt;SPAN class="pln"&gt;
&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class="typ"&gt;UserPrincipal&lt;/SPAN&gt;&lt;SPAN class="pln"&gt; up &lt;/SPAN&gt;&lt;SPAN class="pun"&gt;=&lt;/SPAN&gt;&lt;SPAN class="pln"&gt; &lt;/SPAN&gt;&lt;SPAN class="typ"&gt;UserPrincipal&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;.&lt;/SPAN&gt;&lt;SPAN class="typ"&gt;FindByIdentity&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;(&lt;/SPAN&gt;&lt;SPAN class="pln"&gt;pc&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln"&gt; username&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;);&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class="pln"&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/CODE&gt;&lt;CODE&gt;&lt;SPAN class="pln"&gt;up&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;.&lt;/SPAN&gt;&lt;SPAN class="typ"&gt;ChangePassword&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;(&lt;/SPAN&gt;&lt;SPAN class="pln"&gt;password&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln"&gt; txtNewChangedPassword&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;.&lt;/SPAN&gt;&lt;SPAN class="typ"&gt;Text&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;);&lt;/SPAN&gt;&lt;SPAN class="pln"&gt;
&lt;BR /&gt;up&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;.&lt;/SPAN&gt;&lt;SPAN class="typ"&gt;Save&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;();&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;A href="https://stackoverflow.com/questions/31010793/change-password-windows-ad-c-sharp" target="_blank" rel="noopener"&gt;https://stackoverflow.com/questions/31010793/change-password-windows-ad-c-sharp&lt;/A&gt;
&lt;PRE class="lang-cs prettyprint prettyprinted"&gt;&lt;/PRE&gt;
Thanks&amp;nbsp; to Stack Overflow&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Cohen&lt;BR /&gt;RPA Developer&lt;BR /&gt;&lt;BR /&gt;Romania&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 14 Feb 2020 14:09:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/C-code-to-change-Windows-Pass/m-p/88410#M38957</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-02-14T14:09:00Z</dc:date>
    </item>
  </channel>
</rss>

