J
John Lee
Hi,
Could someone help me on one issue regarding to Authorization Manager
(AzMan)? Thanks in advance!!!
I first open the AD based azMan store and an application, everything seems
work fine ... but when I tried to programatically to retrieve the tasks
defined for a specific role, instead of getting the tasks list but the role
name itself. (I can get the tasks inside a task correctly
, here is my
code:
_app is defined and opened correctly ...
Microsoft.Interop.Security.AzRoles.IAzRole role = _app.OpenRole(roleName,
null);
System.Array tasks = (System.Array) role.tasks;
for (int i = 0; i < tasks.length; i++)
{
MessageBox.Show(tasks.GetValue(i).ToString());
}
Any help and tips will be greatly appreciated!
Thanks again!
John
Could someone help me on one issue regarding to Authorization Manager
(AzMan)? Thanks in advance!!!
I first open the AD based azMan store and an application, everything seems
work fine ... but when I tried to programatically to retrieve the tasks
defined for a specific role, instead of getting the tasks list but the role
name itself. (I can get the tasks inside a task correctly

code:
_app is defined and opened correctly ...
Microsoft.Interop.Security.AzRoles.IAzRole role = _app.OpenRole(roleName,
null);
System.Array tasks = (System.Array) role.tasks;
for (int i = 0; i < tasks.length; i++)
{
MessageBox.Show(tasks.GetValue(i).ToString());
}
Any help and tips will be greatly appreciated!
Thanks again!
John