public class OwLDAPGroupInfo extends Object implements OwUserInfo
LDAP backed group 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 |
|---|
OwLDAPGroupInfo(String id,
String name) |
| 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
|
public String getUserLongName() throws Exception
OwBaseUserInfogetUserLongName in interface OwBaseUserInfoExceptionpublic String getUserName() throws Exception
OwBaseUserInfogetUserName in interface OwBaseUserInfoExceptionpublic String getUserDisplayName() throws Exception
OwBaseUserInfogetUserDisplayName in interface OwBaseUserInfoString the user display name or null if the display name can not be obtained.Exceptionpublic String getUserShortName() throws Exception
OwBaseUserInfogetUserShortName in interface OwBaseUserInfoString the user short name or null if the short name can not be obtained.Exceptionpublic String getUserEmailAdress() throws Exception
OwBaseUserInfogetUserEmailAdress in interface OwBaseUserInfoExceptionpublic String getUserID()
OwBaseUserInfogetUserID in interface OwBaseUserInfopublic Collection getRoleNames() throws Exception
OwBaseUserInfogetRoleNames in interface OwBaseUserInfoExceptionpublic Collection getGroups() throws Exception
OwBaseUserInfogetGroups in interface OwBaseUserInfoExceptionpublic boolean isGroup()
throws Exception
OwBaseUserInfoisGroup in interface OwBaseUserInfoExceptionCopyright © 2014 Alfresco Business Solutions. All Rights Reserved.