Interface IUser
public interface IUser
Represents a Mendix user, corresponding to a System.User object.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the language of this user.Returns the Mendix object that corresponds to this user, which is an instance of System.User.getName()
Returns the user name.Returns the names of the roles that the user has.isActive()
Returns whether the user is active and is allowed to log in.Returns whether the user is anonymous.Returns whether the user is blocked and is temporarily not allowed to log in.Returns whether the user is a web-service user.
-
Method Details
-
getName
String getName()Returns the user name.- Returns:
- the name of this user
-
getUserRoleNames
Returns the names of the roles that the user has.- Returns:
- the role names of this user
-
isAnonymous
Boolean isAnonymous()Returns whether the user is anonymous.- Returns:
- true if this user is anonymous, false if it is a named user
-
isWebserviceUser
Boolean isWebserviceUser()Returns whether the user is a web-service user.- Returns:
- true if this user is a web-service user, false otherwise
-
isBlocked
Boolean isBlocked()Returns whether the user is blocked and is temporarily not allowed to log in.- Returns:
- true if this user is blocked, false otherwise
-
isActive
Boolean isActive()Returns whether the user is active and is allowed to log in.- Returns:
- true if this user is active, false otherwise
-
getMendixObject
IMendixObject getMendixObject()Returns the Mendix object that corresponds to this user, which is an instance of System.User.- Returns:
- the Mendix object for this user
-
getLanguage
ILanguage getLanguage()Returns the language of this user.- Returns:
- the language
-