AllUsers

Parent Previous Next

AllUsers

Function to return all the users's names existing in the Project.


Syntax:

List AllUsers();
List all users's names existing in the Project.


Return:

Return a list with all the users's names existing in the Project.


Example:

Configures a String Dynamic vector named as "AllUsersNamesFromProject" with all the user's names.



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

users = SVSecurity.AllUsers(); //users is a list that contains all the user's names in it

for( int i = 0; i < users.Count(); i++ )

{

SVTags.AddDynamycTag("AllUsersNamesFromProject","Value", users[i]);

}