How to set the password

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

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_