MotechUserProfile

public class MotechUserProfile implements Serializable

Represents Motech user

Constructors

MotechUserProfile

public MotechUserProfile(MotechUser user)

Methods

getExternalId

public String getExternalId()

getLocale

public Locale getLocale()

getRoles

public List<String> getRoles()

getUserName

public String getUserName()

getUserStatus

public UserStatus getUserStatus()

hasRole

public boolean hasRole(String role)

isActive

public boolean isActive()