J
Jéjé
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.
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.