I am maintaining some C#/asp.net code, which I think accesses active directory?
The code has the following line of code in it:
string[] allRoles = Roles.GetAllRoles();
If I look at the definition of the class "Roles" it appears to have no code in it.
Only comments. The comments follow the method names, but no definition for the methods
are given. So I have concluded that this is some type of .NET system level class that is not
accessible. Am I correct?
Also basically here is the problem which I am really trying to fix:
A call to the method Roles.GetAllRoles(); returns the following list of items, which are stored in the string "allRoles";
Administrator
Manager
Contributor
Donator
Owner
Viewer
So, how do I alter the string "allRoles" so that it excludes the values "Contributor" and "Donator"?
Or better yet, are these values stored in Active Directory? If so, how do I access the active directory
database that contains the roles, so that I may delete the items "Contributor" and "Donator"?