Oracle® Collaboration Suite Workspaces API Reference
10g (10.1.1.0.2)

Part No. B16233-01


oracle.workspaces.authorization
Interface CwIdentity

All Superinterfaces:
java.io.Serializable

public interface CwIdentity
extends java.io.Serializable

This interface maps to an indentity (user or group) in LDAP. The method getType() is used to differeniate between them.


Field Summary
static int CW_IDENTITY_TYPE_GROUP
           
static int CW_IDENTITY_TYPE_USER
           

 

Method Summary
 java.lang.String getDisplayName()
          Return the display name (name for user and displayname for group)
 java.lang.String getId()
          Return the unique, immutable ID for this identity.
 java.lang.String getName()
          Return the name of this identity.
 int getType()
          Return the type (ither group or user)

 

Field Detail

CW_IDENTITY_TYPE_GROUP

public static final int CW_IDENTITY_TYPE_GROUP
See Also:
Constant Field Values

CW_IDENTITY_TYPE_USER

public static final int CW_IDENTITY_TYPE_USER
See Also:
Constant Field Values

Method Detail

getDisplayName

public java.lang.String getDisplayName()
Return the display name (name for user and displayname for group)
Returns:
the display name

getId

public java.lang.String getId()
Return the unique, immutable ID for this identity. In our case, the OID GUID is used here.
Returns:
the unique, immutable ID for this identit

getName

public java.lang.String getName()
Return the name of this identity. In our case, uid for user and name for group is returned
Returns:
the unique, immutable Name for this identit

getType

public int getType()
Return the type (ither group or user)
Returns:
the type

Copyright © 2001, 2005, Oracle. All rights reserved.