Package org.eclipse.emf.cdo.security

# Schnittstelle User

Alle Superschnittstellen:
  `Assignee`, `CDOObject`, `CDOWithID`, `EObject`, `ModelElement`, `Notifier`, `SecurityElement`, `SecurityItem`

Alle bekannten Implementierungsklassen:
  `UserImpl`

public interface User extends Assignee
A representation of the model object 'User'.

Siehe auch:
  - `SecurityPackage.getUser()`
Generated
Model
No Implement
  This interface is not intended to be implemented by clients.
No Extend
  This interface is not intended to be extended by clients.

  The following features are supported:

  - `Groups`
  - `Label`
  - `First Name`
  - `Last Name`
  - `Email`
  - `Default Access Override`
  - `Default Access`
  - `Locked`
  - `Password`
  - `All Groups`
  - `All Roles`
  - `All Permissions`
  - `Unassigned Roles`

## Feldübersicht

Felder
Modifizierer und Typ
Feld
Beschreibung
`static final String`
`ADMINISTRATOR`
`static final String`
`ADMINISTRATOR_DEFAULT_PASSWORD`

## Methodenübersicht

Modifizierer und Typ
Methode
Beschreibung
`EList<Group>`
`getAllGroups()`
Returns the value of the 'All Groups' reference list.
`EList<Permission>`
`getAllPermissions()`
Returns the value of the 'All Permissions' reference list.
`EList<Role>`
`getAllRoles()`
Returns the value of the 'All Roles' reference list.
`Access`
`getDefaultAccess()`
Returns the value of the 'Default Access' attribute.
`Access`
`getDefaultAccessOverride()`
Returns the value of the 'Default Access Override' attribute.
`String`
`getEmail()`
Returns the value of the 'Email' attribute.
`String`
`getFirstName()`
Returns the value of the 'First Name' attribute.
`EList<Group>`
`getGroups()`
Returns the value of the 'Groups' reference list.
`String`
`getLabel()`
Returns the value of the 'Label' attribute.
`String`
`getLastName()`
Returns the value of the 'Last Name' attribute.
`UserPassword`
`getPassword()`
Returns the value of the 'Password' containment reference.
`EList<Role>`
`getUnassignedRoles()`
Returns the value of the 'Unassigned Roles' reference list.
`boolean`
`isLocked()`
Returns the value of the 'Locked' attribute.
`void`
`setDefaultAccessOverride(Access value)`
Sets the value of the '`Default Access Override`' attribute.
`void`
`setEmail(String value)`
Sets the value of the '`Email`' attribute.
`void`
`setFirstName(String value)`
Sets the value of the '`First Name`' attribute.
`void`
`setLastName(String value)`
Sets the value of the '`Last Name`' attribute.
`void`
`setLocked(boolean value)`
Sets the value of the '`Locked`' attribute.
`void`
`setPassword(UserPassword value)`
Sets the value of the '`Password`' containment reference.

### Von Schnittstelle geerbte Methoden org.eclipse.emf.cdo.security.Assignee

`getId, getRoles, setId`

### Von Schnittstelle geerbte Methoden org.eclipse.emf.cdo.CDOObject

`cdoConflict, cdoDirectResource, cdoHistory, cdoID, cdoInvalid, cdoLockState, cdoPermission, cdoPrefetch, cdoReadLock, cdoReload, cdoResource, cdoRevision, cdoRevision, cdoState, cdoView, cdoWriteLock, cdoWriteOption`

### Von Schnittstelle geerbte Methoden org.eclipse.emf.ecore.EObject

`eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset`

### Von Schnittstelle geerbte Methoden org.eclipse.emf.cdo.etypes.ModelElement

`getAnnotation, getAnnotations`

### Von Schnittstelle geerbte Methoden org.eclipse.emf.common.notify.Notifier

`eAdapters, eDeliver, eNotify, eSetDeliver`

### Von Schnittstelle geerbte Methoden org.eclipse.emf.cdo.security.SecurityElement

`getRealm`

## Felddetails

### ADMINISTRATOR

static final String ADMINISTRATOR

Seit:
  4.3
Siehe auch:
  - Konstantenfeldwerte

### ADMINISTRATOR_DEFAULT_PASSWORD

static final String ADMINISTRATOR_DEFAULT_PASSWORD

Seit:
  4.6
Siehe auch:
  - Konstantenfeldwerte

## Methodendetails

### getGroups

EList<Group> getGroups()
Returns the value of the 'Groups' reference list. The list contents are of type `Group`. It is bidirectional and its opposite is '`Users`'.

If the meaning of the 'Groups' reference list isn't clear, there really should be more of a description here...

Gibt zurück:
  the value of the 'Groups' reference list.
Siehe auch:
  - `SecurityPackage.getUser_Groups()`
  - `Group.getUsers()`
Generated
Model
  opposite="users"

### getAllGroups

EList<Group> getAllGroups()
Returns the value of the 'All Groups' reference list. The list contents are of type `Group`.

If the meaning of the 'All Groups' reference list isn't clear, there really should be more of a description here...

Gibt zurück:
  the value of the 'All Groups' reference list.
Siehe auch:
  - `SecurityPackage.getUser_AllGroups()`
Generated
Model
  transient="true" changeable="false" volatile="true" derived="true"

### getAllRoles

EList<Role> getAllRoles()
Returns the value of the 'All Roles' reference list. The list contents are of type `Role`.

If the meaning of the 'All Roles' reference list isn't clear, there really should be more of a description here...

Gibt zurück:
  the value of the 'All Roles' reference list.
Siehe auch:
  - `SecurityPackage.getUser_AllRoles()`
Generated
Model
  transient="true" changeable="false" volatile="true" derived="true"

### getAllPermissions

EList<Permission> getAllPermissions()
Returns the value of the 'All Permissions' reference list. The list contents are of type `Permission`.

If the meaning of the 'All Permissions' reference list isn't clear, there really should be more of a description here...

Gibt zurück:
  the value of the 'All Permissions' reference list.
Siehe auch:
  - `SecurityPackage.getUser_AllPermissions()`
Generated
Model
  transient="true" changeable="false" volatile="true" derived="true"

### getUnassignedRoles

EList<Role> getUnassignedRoles()
Returns the value of the 'Unassigned Roles' reference list. The list contents are of type `Role`.

If the meaning of the 'Unassigned Roles' reference list isn't clear, there really should be more of a description here...

Gibt zurück:
  the value of the 'Unassigned Roles' reference list.
Siehe auch:
  - `SecurityPackage.getUser_UnassignedRoles()`
Generated
Model
  transient="true" changeable="false" volatile="true" derived="true"

### getLabel

String getLabel()
Returns the value of the 'Label' attribute.

If the meaning of the 'Label' attribute isn't clear, there really should be more of a description here...

Gibt zurück:
  the value of the 'Label' attribute.
Siehe auch:
  - `SecurityPackage.getUser_Label()`
Generated
Model
  transient="true" changeable="false" volatile="true" derived="true"

### getFirstName

String getFirstName()
Returns the value of the 'First Name' attribute.

If the meaning of the 'First Name' attribute isn't clear, there really should be more of a description here...

Gibt zurück:
  the value of the 'First Name' attribute.
Siehe auch:
  - `setFirstName(String)`
  - `SecurityPackage.getUser_FirstName()`
Generated
Model

### setFirstName

void setFirstName(String value)
Sets the value of the '`First Name`' attribute.

Parameter:
  `value` - the new value of the 'First Name' attribute.
Siehe auch:
  - `getFirstName()`
Generated

### getLastName

String getLastName()
Returns the value of the 'Last Name' attribute.

If the meaning of the 'Last Name' attribute isn't clear, there really should be more of a description here...

Gibt zurück:
  the value of the 'Last Name' attribute.
Siehe auch:
  - `setLastName(String)`
  - `SecurityPackage.getUser_LastName()`
Generated
Model

### setLastName

void setLastName(String value)
Sets the value of the '`Last Name`' attribute.

Parameter:
  `value` - the new value of the 'Last Name' attribute.
Siehe auch:
  - `getLastName()`
Generated

### getEmail

String getEmail()
Returns the value of the 'Email' attribute.

If the meaning of the 'Email' attribute isn't clear, there really should be more of a description here...

Gibt zurück:
  the value of the 'Email' attribute.
Siehe auch:
  - `setEmail(String)`
  - `SecurityPackage.getUser_Email()`
Generated
Model

### setEmail

void setEmail(String value)
Sets the value of the '`Email`' attribute.

Parameter:
  `value` - the new value of the 'Email' attribute.
Siehe auch:
  - `getEmail()`
Generated

### getDefaultAccessOverride

Access getDefaultAccessOverride()
Returns the value of the 'Default Access Override' attribute.

Overrides the `Realm`'s default access permission for this user. When this attribute is set, its value establishes the minimum level of access for the user on all objects in the repository. In particular, it is not the access permission that applies to objects that are not otherwise covered by some permission rule for the user. All permissions are implicitly elevated at least to this override for the user.

Gibt zurück:
  the value of the 'Default Access Override' attribute.
Siehe auch:
  - `setDefaultAccessOverride(Access)`
  - `SecurityPackage.getUser_DefaultAccessOverride()`
Generated
Model
  dataType="org.eclipse.emf.cdo.security.AccessObject"

### setDefaultAccessOverride

void setDefaultAccessOverride(Access value)
Sets the value of the '`Default Access Override`' attribute.

Parameter:
  `value` - the new value of the 'Default Access Override' attribute.
Siehe auch:
  - `getDefaultAccessOverride()`
Generated

### getDefaultAccess

Access getDefaultAccess()
Returns the value of the 'Default Access' attribute.

The minimum level of access for the user on all objects in the repository. This is either the default set for all users in the `Realm` or an override set specifically on this user.

Gibt zurück:
  the value of the 'Default Access' attribute.
Siehe auch:
  - `SecurityPackage.getUser_DefaultAccess()`
Generated
Model
  dataType="org.eclipse.emf.cdo.security.AccessObject" transient="true" changeable="false" volatile="true" derived="true"

### isLocked

boolean isLocked()
Returns the value of the 'Locked' attribute.

If the meaning of the 'Locked' attribute isn't clear, there really should be more of a description here...

Gibt zurück:
  the value of the 'Locked' attribute.
Siehe auch:
  - `setLocked(boolean)`
  - `SecurityPackage.getUser_Locked()`
Generated
Model

### setLocked

void setLocked(boolean value)
Sets the value of the '`Locked`' attribute.

Parameter:
  `value` - the new value of the 'Locked' attribute.
Siehe auch:
  - `isLocked()`
Generated

### getPassword

UserPassword getPassword()
Returns the value of the 'Password' containment reference.

If the meaning of the 'Password' containment reference isn't clear, there really should be more of a description here...

Gibt zurück:
  the value of the 'Password' containment reference.
Siehe auch:
  - `setPassword(UserPassword)`
  - `SecurityPackage.getUser_Password()`
Generated
Model
  containment="true"

### setPassword

void setPassword(UserPassword value)
Sets the value of the '`Password`' containment reference.

Parameter:
  `value` - the new value of the 'Password' containment reference.
Siehe auch:
  - `getPassword()`
Generated