com.novell.service.server
Interface ServerLoginStatus
- public interface ServerLoginStatus
Provides a specific attribute of a ServerDirContext. The ID of
the attribute is equal to ATTR_ID, and the value is an object
that implements this interface.
Field Summary |
static java.lang.String |
ATTR_ID
The attribute ID of this attribute. |
static java.lang.String |
attrID
Deprecated. This member will be removed. Use ATTR_ID instead. |
Method Summary |
boolean |
getStatus()
Determines if the server is allowing logins. |
void |
setStatus(boolean value)
Sets the state of the login status. |
ATTR_ID
public static final java.lang.String ATTR_ID
- The attribute ID of this attribute.
The value of this constant is "ServerLoginStatus."
attrID
public static final java.lang.String attrID
- Deprecated. This member will be removed. Use ATTR_ID instead.
getStatus
public boolean getStatus()
throws com.novell.service.jncp.NSIException
- Determines if the server is allowing logins.
- Returns:
- A boolean set to TRUE if the server is allowing logins;
otherwise set to FALSE.
- Throws:
- com.novell.service.jncp.NSIException - When an error occurs retrieving the
information.
setStatus
public void setStatus(boolean value)
throws com.novell.service.jncp.NSIException
- Sets the state of the login status.
- Parameters:
value
- The desired login state as a boolean; TRUE if
the server is allowing logins; otherwise
set to FALSE.