A
A Mackie
I want to use role based security in ASP.NET, but can't see how assigning permissions/operations to a role is done. IsInRole can check a user is in a role - but how can I check a user has access to an operation that is assigned to a role ?
Operations will be fixed at design time. However assigning operations to one or more roles must be completely configurable at run time, as is assigning users to multiple roles. Roles must also be user-definable at run-time. Similar to what Windows Authorization Manager provides, where users and roles are custom definable as is assignments to operations, which can then be checked at runtime with AccessCheck.
Is similar functionality available in ASP.NET role based security, to allow granular operations assigned to user-definable roles, which can then be checked at run-time ?
Thanks,
Andy Mackie.
Operations will be fixed at design time. However assigning operations to one or more roles must be completely configurable at run time, as is assigning users to multiple roles. Roles must also be user-definable at run-time. Similar to what Windows Authorization Manager provides, where users and roles are custom definable as is assignments to operations, which can then be checked at runtime with AccessCheck.
Is similar functionality available in ASP.NET role based security, to allow granular operations assigned to user-definable roles, which can then be checked at run-time ?
Thanks,
Andy Mackie.