Interface IPrincipalModel
- All Known Subinterfaces:
IGroupModel
,IUserModel
public interface IPrincipalModel
Base interface for directory principal object: users and groups
-
Method Summary
-
Method Details
-
getName
String getName()The principal's name- Returns:
- the principal's name
-
getUid
String getUid()The principal's uid- Returns:
- the principal's uid
-
getDn
String getDn()The principal's DN- Returns:
- the principal's DN
-
getEmail
String getEmail()Get the email attribute for this principal- Returns:
- the value of the email attribute, or null if no value exists
-
getType
int getType()- Returns:
- a
IDirSystem#TYPE_USER
orIDirSystem#TYPE_GROUP
orIDirSystem#TYPE_ROLE
-