Active Directory User

  • Thread starter Thread starter Mick Walker
  • Start date Start date
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?
 
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
 
Back
Top