com.atlassian.jira.user.util
Class Users

java.lang.Object
  extended by com.atlassian.jira.user.util.Users

public class Users
extends Object

Static utility methods pertaining to User instances.

Since:
v4.4

Constructor Summary
Users()
           
 
Method Summary
static boolean isAnonymous(com.atlassian.crowd.embedded.api.User user)
          Whether the specified user is anonymous.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Users

public Users()
Method Detail

isAnonymous

public static boolean isAnonymous(@Nullable
                                  com.atlassian.crowd.embedded.api.User user)
Whether the specified user is anonymous.

Parameters:
user - The user to check.
Returns:
true if the specified user is anonymous; otherwise, false.


Copyright © 2002-2013 Atlassian. All Rights Reserved.