I went through the exact same pain as you.Found your post and resolved our user add problems in minutes.Thanks for posting.Here’s what I implemented,NTAccount acct = new NTAccount(usr);SecurityIdentifier sid = (SecurityIdentifier)acct.Translate(typeof(SecurityIdentifier));rl.Members.Add(new RoleMember(usr, sid.ToString()));rl.Update(); |