Feb 5, 2010 at 11:28 PM
Edited Feb 5, 2010 at 11:30 PM
The documentation for NetSqlAzMan indicates I can check access at an Operation (or) Task level:
//Can I do "My Operation" (or my Task ... or my Role)
AuthorizationType authorization = storage.CheckAccess("My Store", "My Application", "My Operation", identity, DateTime.Now, false);
However, when I try to provide a Task name instead of "My Operation," the CheckAccess method reports it can't find the name of my task. Am I misunderstanding? I'm sure I don't have a typo in my Task name. Can I use CheckAccess
to verify authorization for a Task (collection of Operations) or not?
Thanks for your feedback / direction-- I really like this application!
Feb 6, 2010 at 7:45 AM
to check the access also on tasks and roles you must ensure that the
last CheckAccess parameter is set to false (OperationsOnly = false).
AuthorizationType authorization = storage.CheckAccess("My Store", "My Application",
"My Task/MyRole", identity, DateTime.Now,
NetSqlAzMan Project Coordinator