Hello,

 

I am in the process of finalizing a Membership provider for AD (a bit more
complete than the one provided in System.Web.Security). One option offered
is to store Group-Role associations in the database.

 

My question is "Can I safely store SID in the database?". Microsoft
recommend using GUID, but it would be more efficient and simplify my code if
I work with SID instead. 

 

The main reason is that I am using the property TokenGroups to get group
memberships for a user, which return an array of SID. So, I then need to get
the GUID for those SID which is kind of a bummer. 

 

As a side note, anyone knows the reason for putting
MembershipProvider/RoleProvider in System.Web.Security ?? Why not
System.Security ?

 

Thanks!

 

Sébastien


===================================
This list is hosted by DevelopMentor®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to