All,
How do I implement role based code access security in Serviced
Components
Say
I have two local user groups "Managers" and "Clerks". I have an
assembly with a class derived from "ServicedComponent" having a function
"CreateAccount".
I have a separate ASP form (Digest Authentication) calling this
function.All I want is this function to be called by users belonging to
"Managers" role.
I did
[SecurityRole("MACHINENAME\\Managers")]
public void CreateAccount()
{
}
But this doesn't seem to work (No error but can be called by any
users)
Can someone send me the complete code (both client & server).
Thanks,
Regards
Karthikeyan Palanivel