I modified a mvc3 application of my company to implement a Role Provider with a role 'admin' which can give permissions to/delete other users.
This has been pretty straight-forward, the problem i'm facing is to add the first 'admin' user by sql syntax, because the Membership Provider uses a hash+salt combination to store user password so inserting a clear password and empty salt won't work.
Is there a way to achieve this by sql, or executing .net code in sql server without loading a CLR assembly?
Thanks!