ZMPrincipal
public interface ZMPrincipal
| Field Summary | |
|---|---|
| final mixed | Access level anonymous. |
| final mixed | Access level guest. |
| final mixed | Access level registered. |
| Method Summary | |
|---|---|
| string | getName() Returns a string representation of this principal. |
| string | getType() Get the principal type. |
public final mixed ANONYMOUS = 'anonymous'
Access level anonymous. */
public final mixed GUEST = 'guest'
Access level guest. */
public final mixed REGISTERED = 'registered'
Access level registered. */
public string getName()
Returns a string representation of this principal.
public string getType()
Get the principal type.
A principal can be classified using one one of:
This interface represents the abstract notion of a principal, which can be used to represent any entity, such as an individual, a corporation, and a login id.