using AuthorizationStoreRoleProvider directly without activating the rolemanager?
- From: "Jéjé" <willgart_A_@xxxxxxxxxxxxxx>
- Date: Tue, 11 Jul 2006 09:07:37 -0400
Hi,
I want to use the AuthorizationStoreRoleProvider class using my own code but
NOT to authenticate and authorize the users in my current web application,
only to manage some security part of my active directory.
In my web.config, I have added some configuration information (like the
connectionstring which point to my active directory)
now I want to initialize the AuthorizationStoreRoleProvider object...
Public Shared Function GetRoles() As String()
Dim o2 As New System.Web.Security.AuthorizationStoreRoleProvider
o2.ApplicationName = "/"
o2.ScopeName = ""
o2.Initialize(<????>, <????>)
Return o2.GetAllRoles()
End Function
what are the parameters I have to send to the Initialize function?
Thanks.
Jerome.
.
- Follow-Ups:
- Prev by Date: Re: ASP.Net DropDown Security
- Next by Date: Re: using AuthorizationStoreRoleProvider directly without activating the rolemanager?
- Previous by thread: Re: ASP.Net DropDown Security
- Next by thread: Re: using AuthorizationStoreRoleProvider directly without activating the rolemanager?
- Index(es):
Relevant Pages
|
|