المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : AzMan Roles and Operations



C# Programming
05-05-2009, 12:24 PM
Hi,

I'm having trouble to obtain the Roles, and the Operations etc. attached to a specific role.

I have a few operations, and a few roles. I want to Iterate through these roles and obtain the operations linked to these roles.

Now I know how to iterate trough these roles and operations individually ... But I don't know how to obtain the link between the two...

I'm using the AZROLESLib.

string storeAddress = "msxml://" + Environment.CurrentDirectory + "\\AuthorizationStore.xml";
AzAuthorizationStoreClass store;
store = new AzAuthorizationStoreClass();
store.Initialize(0, storeAddress, null);
IAzApplication app = store.OpenApplication("Abatis", null);

for (int i = 1; i