How to get the applications list

Aug 19, 2010 at 7:16 AM
How can i get the list of applications that a user has access right? I found below to get rights but it has application as a parameter AuthorizedItem[] userAuthorizedItems = sc.GetAuthorizedItems("store", "App1", dbUser.CustomSid.StringValue, DateTime.Now, null);
Aug 19, 2010 at 7:39 AM
ok i think i can use this ComboBox1.Items.Clear(); string sqlConnectionString = "data source=.;initial catalog=netsqlazmanstorage;user id=azman;password=azman"; IAzManStorage storage = new SqlAzManStorage(sqlConnectionString); IAzManStore mystore = storage.GetStore("mystore"); foreach (IAzManApplication a in mystore.GetApplications()) { ComboBox1.Items.Add(a.Name.ToString()); }
Aug 19, 2010 at 7:42 AM

Right.

Take a look to the “How Do I ?” – Video Tutorials (lesson 6 and 9) – NetSqlAzMan Web Site – Download section.


Regards,

Andrea.

__________________________________
Andrea Ferendeles
NetSqlAzMan Project Coordinator
E-mail aferende@hotmail.com Web http://netsqlazman.codeplex.com