public enum LdapUserAttribute extends Enum<LdapUserAttribute>
| Enum Constant and Description |
|---|
ALIAS
attribute referring to the alias of a
User |
EMAIL
attribute referring to the email of a
User |
FIRSTNAME
attribute referring to the first name of a
User |
LASTNAME
attribute referring to the last name of a
User |
UID
attribute referring to a permanent unique ID of an external
User |
UPN
attribute referring to a user principal name of an external
User |
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
boolean |
isRequired() |
static LdapUserAttribute |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LdapUserAttribute[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LdapUserAttribute ALIAS
Userpublic static final LdapUserAttribute EMAIL
Userpublic static final LdapUserAttribute FIRSTNAME
Userpublic static final LdapUserAttribute LASTNAME
Userpublic static final LdapUserAttribute UID
Userpublic static final LdapUserAttribute UPN
Userpublic static LdapUserAttribute[] values()
for (LdapUserAttribute c : LdapUserAttribute.values()) System.out.println(c);
public static LdapUserAttribute valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getName()
public boolean isRequired()
true if this attribute is required.Copyright © 2019 Communote team. All rights reserved.