jetbrains.buildServer.web.functions.user
Class UserFunctions

java.lang.Object
  extended by jetbrains.buildServer.web.functions.user.UserFunctions

public class UserFunctions
extends java.lang.Object

Various user related functions


Constructor Summary
UserFunctions(UserModel userModel)
           
 
Method Summary
static boolean booleanPropertyValue(User user, java.lang.String propName)
          Returns value of boolean property from the specified user profile.
static java.util.List<SUser> getAllUsers()
          Returns all users registered in the system, sorted by their names
static java.lang.String getPropertyValue(User user, java.lang.String propName)
          Returns string value of property from the specified user profile.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserFunctions

public UserFunctions(UserModel userModel)
Method Detail

booleanPropertyValue

public static boolean booleanPropertyValue(@NotNull
                                           User user,
                                           @NotNull
                                           java.lang.String propName)
Returns value of boolean property from the specified user profile.

Parameters:
user - user
propName - name of the property
Returns:
see above

getPropertyValue

public static java.lang.String getPropertyValue(@NotNull
                                                User user,
                                                @NotNull
                                                java.lang.String propName)
Returns string value of property from the specified user profile.

Parameters:
user - user
propName - name of the property
Returns:
see above

getAllUsers

public static java.util.List<SUser> getAllUsers()
Returns all users registered in the system, sorted by their names

Returns:
see above