Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Member
240 Points
37 Posts
Oct 20, 2009 01:27 AM|LINK
if you already have the member created that you want as an admin, just run the stored procedure
dbo.aspnet_UsersInRoles_AddUsersToRoles.
DECLARE @return_value int EXEC @return_value = [dbo].[aspnet_UsersInRoles_AddUsersToRoles] @ApplicationName = N'YOURAPPLICATIONNAME', @UserNames = N'USERNAME', @RoleNames = N'ROLENAME', @CurrentTimeUtc = N'CURRENTDATE' SELECT 'Return Value' = @return_value
hope that helps
MikeRamsey
Member
240 Points
37 Posts
Re: How to create another admin once site is online
Oct 20, 2009 01:27 AM|LINK
if you already have the member created that you want as an admin, just run the stored procedure
dbo.aspnet_UsersInRoles_AddUsersToRoles.
hope that helps
Mike
MCP - Web Based Client Development .NET 2.0