Active Directory User

M

Mick Walker

I create a user with the following:

MembershipCreateStatus status;
MembershipProvider mp = Membership.Providers["MyAdMembershipProvider"];
mp.CreateUser("Test2user@domain", "pa344ss123word!*&", "me@here", null,
null, true, null, out status);

This works fine.
The only thing now is the Pre Windows 2000 login name is set to garbage
as far as I can tell.
e.g.:
domain\$SS60H8-PPK4IRVSFIK1


We do have a couple of legacy NT based systems (about 2 I think) but I
would like to keep existing compatibility.
How can I control the Pre Windows 2000 login name?
 
A

Austin Osuide

Hi Mick,
"Pre Windows 2000 login" name maps to the users sAMAccountName attribute
which is required to create a valid user object.
Since you have not supplied the value, The directory generates a random
unique value for you.


Regards,

Austin
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top