public interface IDirPrincipal extends IView
PROP_DESCRIPTION, PROP_NAME, PROP_TYPE, PROP_URI
Modifier and Type | Method and Description |
---|---|
IThingID |
getDirectoryPrincipalID()
get the
IThingID associated with this IDir Principal. |
String |
getDirectoryServiceName()
The principal's directory service name
|
IThingID |
getDirectoryServiceThingID()
get the
IThingID for the IDirService associated with this principal |
IURI |
getDirectoryURI()
The directory uri differs from what is returned by
IView.getURI() . |
String |
getDN()
The principal's dn
|
String |
getEmail()
Get the email attribute for this principal
|
String |
getName()
Get the name of this directory principal, meaning the identifying attribute.
|
int |
getType() |
default boolean |
isDirectoryServiceEnabled()
Get the directoryServiceEnabled attribute for this principal
|
default boolean |
isInitialized() |
getProperties, getProperty, getPropertyNames, getURI
IURI getDirectoryURI() throws PortalException
IView.getURI()
.
The directory uri has the principal's dn encoded into it, where the other uri
has the metadata service's thingid encoded into it.PortalException
IThingID getDirectoryPrincipalID() throws PortalException
IThingID
associated with this IDir Principal.
Note, this may return null, if the user hasn't yet been initialized by the metadata store.
In that case you should call
IDirServiceBizPolicy.initializePrincipal(com.webmethods.portal.bizPolicy.IContext, com.webmethods.portal.system.IURI)
PortalException
IThingID getDirectoryServiceThingID() throws PortalException
IThingID
for the IDirService
associated with this principalPortalException
String getDirectoryServiceName() throws PortalException
PortalException
String getDN() throws PortalException
PortalException
int getType() throws PortalException
IDirConstants.TYPE_USER
or IDirConstants.TYPE_GROUP
or IDirConstants.TYPE_ROLE
PortalException
String getName() throws PortalException
PortalException
String getEmail() throws PortalException
PortalException
default boolean isDirectoryServiceEnabled() throws PortalException
PortalException
default boolean isInitialized() throws PortalException
PortalException