How to create another admin once site is onlinehttp://forums.asp.net/t/1483073.aspx/1?How+to+create+another+admin+once+site+is+onlineTue, 20 Oct 2009 01:27:05 -040014830733466144http://forums.asp.net/p/1483073/3466144.aspx/1?How+to+create+another+admin+once+site+is+onlineHow to create another admin once site is online <p>&nbsp;Hi,&nbsp; My clubsite is online and working and I have the need to assign admin privledges to another member.&nbsp; Is there a way to do this?&nbsp; I tried accessing the site through VS express 2008 and the website menu doesn't have the asp.net configuration option mentioned in the &quot;welcome.htm&quot;.&nbsp; I tried going right into the data base on my server, but the darn thing is in code and I can't tell how to change a user from member to admin.&nbsp; I'd appreciate any suggetions if someone has done this already.&nbsp; Thanks.</p> 2009-10-20T00:13:04-04:003466193http://forums.asp.net/p/1483073/3466193.aspx/1?Re+How+to+create+another+admin+once+site+is+onlineRe: How to create another admin once site is online <p><br> </p> <p>if you already have the member created that you want as an admin, just run the stored procedure&nbsp;</p> <p>dbo.aspnet_UsersInRoles_AddUsersToRoles.&nbsp;</p> <p></p> <pre class="prettyprint">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</pre> <p><br> hope that helps</p> <p></p> 2009-10-20T01:27:05-04:00