com.cafesoft.cams.service
Interface ActiveDirectoryPrimaryGroupService

All Superinterfaces:
Debuggable, Lifecycle, LifecycleService, Service

public interface ActiveDirectoryPrimaryGroupService
extends LifecycleService

ActiveDirectoryPrimaryGroupService defines the interface that enables lookup of a Windows "Primary Group" name via its Group identifier.

NOTE:Every Windows user is assigned to a "Primary Group", which cannot be queried directly via LDAP. Instead, the integer identifier of the Primary Group is queried for the specified user then mapped a Group name. Because the list of all possible groups and their identifiers can be a costly query, implementations of this service may cache the results.

Since:
9/20/05

Field Summary
 
Fields inherited from interface com.cafesoft.core.lifecycle.Lifecycle
START_EVENT, STOP_EVENT
 
Method Summary
 String getGroupNameById(String groupId)
          Get an Active Directory Primary Group name from its identifier.
 
Methods inherited from interface com.cafesoft.core.service.Service
destroy, getServiceConfig, initialize
 
Methods inherited from interface com.cafesoft.core.util.Debuggable
setDebug
 
Methods inherited from interface com.cafesoft.core.lifecycle.Lifecycle
addLifecycleListener, isStarted, removeLifecycleListener, start, stop
 

Method Detail

getGroupNameById

public String getGroupNameById(String groupId)
Get an Active Directory Primary Group name from its identifier.

Parameters:
groupId - the identifier of the Primary Group.
Returns:
the Group name or null if a Group was not found for the specified identifier.


Generated on 5:16:42 PM May 12, 2008, © 1996-2005 Cafésoft LLC. All rights reserved.