# How to set the password

**URL:** <https://devforum.okta.com/t/how-to-set-the-password/10396>\
**Category:** Questions\
**Created:** [August 5, 2020, 2:37pm UTC](https://devforum.okta.com/t/how-to-set-the-password/10396 "2020-08-05T14:37:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![praveen](https://avatars.discourse-cdn.com/v4/letter/p/3ec8ea/32.png) [@praveen](https://devforum.okta.com/u/praveen)\
**Post date:** [August 5, 2020, 2:37pm UTC](https://devforum.okta.com/t/how-to-set-the-password/10396/1 "2020-08-05T14:37:50Z")

</div>

Hi Team,

How to set the password while creating the user in OKTA using C# SDK.  
am send the Mail to the end-user. am send the password through mail.  
where give the permission for Setbyadmin option.

Thanks in Advance.

Thanks,  
Praveen.T

---

<div class="post-metadata">

**Author:** ![phi1ipp](https://avatars.discourse-cdn.com/v4/letter/p/85f322/32.png) [@phi1ipp](https://devforum.okta.com/u/phi1ipp)\
**Post date:** [August 6, 2020, 2:35am UTC](https://devforum.okta.com/t/how-to-set-the-password/10396/2 "2020-08-06T02:35:06Z")

</div>

Is it not what you need? [https://developer.okta.com/okta-sdk-dotnet/latest/api/Okta.Sdk.IUsersClient.html#Okta\_Sdk\_IUsersClient\_CreateUserAsync\_Okta\_Sdk\_CreateUserWithPasswordOptions\_System\_Threading\_CancellationToken\_](https://developer.okta.com/okta-sdk-dotnet/latest/api/Okta.Sdk.IUsersClient.html#Okta_Sdk_IUsersClient_CreateUserAsync_Okta_Sdk_CreateUserWithPasswordOptions_System_Threading_CancellationToken_)

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/oktadev/original/1X/589c4c5f80de422d01f47cee7185a7fb8227835c.png) [@system](https://devforum.okta.com/u/system)\
**Post date:** [January 24, 2024, 11:42pm UTC](https://devforum.okta.com/t/how-to-set-the-password/10396/3 "2024-01-24T23:42:40Z")

</div>

Closed on January 24, 2024, 11:42pm UTC

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.
