Similar Security Options in VB.Net 2005 like in ASP.Net 2.0 ?
- From: "Luqman" <pearlsoft@xxxxxxxxxxxx>
- Date: Wed, 16 May 2007 11:13:23 +0500
I want similar Functions in Visual Basic 2005 like in ASP.Net 2.0
In ASP.Net 2.0, I use following:-
'To Create a New Role
System.Web.Security.Roles.CreateRole("Role1")
'To Add User to a New Role
System.Web.Security.Roles.AddUserToRole("myUserName", "Role1")
'To Create a New User
Syste.Web.Security.MemberShip.
How can I do all this in Visual Basic 2005 Windows Application.
Best Regards,
Luqman
.
- Prev by Date: Re: help on caller credentials !! :-(
- Next by Date: Re: help on caller credentials !! :-(
- Previous by thread: Setting directory NTFS directory permissions (W2k3 Server)
- Next by thread: Re: SSL Security
- Index(es):