public class OwLDAPUserInfo extends Object implements OwUserInfo
LDAP backed user info.
Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.
For licensing information read the license.txt file or
go to: http://wiki.alfresco.com
Constructor and Description |
---|
OwLDAPUserInfo(String userLoginName,
String distinguishedName) |
OwLDAPUserInfo(String userLoginName,
String distinguishedName,
String displayName,
String shortName,
String longName) |
Modifier and Type | Method and Description |
---|---|
Collection |
getGroups()
get a list with group information the user is assigned to
|
Collection |
getRoleNames()
get a string list of role names for this user
|
String |
getUserDisplayName()
get the user display name.
|
String |
getUserEmailAdress()
get the user eMail Address
|
String |
getUserID()
get the user unique persistent ID, which does not change even when name changes
|
String |
getUserLongName()
get name of logged in user in the long descriptive form
|
String |
getUserName()
get the user login
|
String |
getUserShortName()
get the user short name.
|
boolean |
isGroup()
flag indication, that user info actually designates a group rather than a single user
|
void |
setEmail(String email) |
public OwLDAPUserInfo(String userLoginName, String distinguishedName)
userLoginName
- distinguishedName
- public String getUserLongName() throws Exception
OwBaseUserInfo
getUserLongName
in interface OwBaseUserInfo
Exception
public String getUserName() throws Exception
OwBaseUserInfo
getUserName
in interface OwBaseUserInfo
Exception
public String getUserDisplayName() throws Exception
OwBaseUserInfo
getUserDisplayName
in interface OwBaseUserInfo
String
the user display name or null
if the display name can not be obtained.Exception
public String getUserShortName() throws Exception
OwBaseUserInfo
getUserShortName
in interface OwBaseUserInfo
String
the user short name or null
if the short name can not be obtained.Exception
public String getUserEmailAdress() throws Exception
OwBaseUserInfo
getUserEmailAdress
in interface OwBaseUserInfo
Exception
public void setEmail(String email)
public String getUserID()
OwBaseUserInfo
getUserID
in interface OwBaseUserInfo
public Collection getRoleNames() throws Exception
OwBaseUserInfo
getRoleNames
in interface OwBaseUserInfo
Exception
public Collection getGroups() throws Exception
OwBaseUserInfo
getGroups
in interface OwBaseUserInfo
Exception
public boolean isGroup() throws Exception
OwBaseUserInfo
isGroup
in interface OwBaseUserInfo
Exception
Copyright © 2014 Alfresco Business Solutions. All Rights Reserved.