AllProfiles

Parent Previous Next

AllProfiles

Function to return all the profiles existing in the Project.


Syntax:

List AllProfiles();
List all profiles existing in the Project.


Return:

Return a list with all the profiles existing in the Project.


Example:

Configures a String Dynamic vector named as "AllProfilesFromProject" with all the profiles.



System.Collections.Generic.List<string> profiles = new System.Collections.Generic.List<string>();

profiles = SVSecurity.allProfiles(); //profiles is a list that contains all the profiles in it

for( int i = 1; i < SVSecurity.ProfileCount(); i++ )

{

SVTags.AddDynamycTag("AllProfilesFromProject","Value", profiles[i]);

}