How Can I create Users in Active Directory ?
What does this error means ?
Account Name you can pass “pranav.singh”
Password pass secure string variable.
Regards,
Kommi Jeevan.
I have tried with different complexities for password , but its not working .
Account Name*(string): The account name for which you want to change the password.
Password*(secureString): The new password for the account.
Here you Did’nt kept your account name in string like this “Pranav sing”
Second You have to change your variable type as a secure string
For that go to the Browse for type then search for System.security.secureString
Like this
cool,
Regards,
Gulshiyaa
Okay then change the variable type as String
Use this in your default value
new system.Net.NetworkCredential(“”, “Test”).SecurePassword
instead of “Test” keep your password""
If you find it useful mark it as solution and close the thread.
Regards,
Gulshiyaa
If you find it useful mark it as solution and close the thread.
One cannot create user directly .
Before creating user we need to Add Active Directory Scope where we need to define the Distinguished Name and set the domain name and then only further operations like Create user , Delete user etc. can be performed.
I hope this will clear all your doubts.
Thank You.
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.