Interface ICredential
interface ICredential
Extends IStandard
Credentials are used to authorize security principals to perform
actions
Each security principal has a security context associated with
it. The security context contains the privileges enabled for the
principal along with other security relevant data. A credential is
a reference to a security context, which is used to authorize the
principal to perform an action.
Methods
checkPrivilege()
Determine whether a privilege is currently enabled for this credentialboolcheckPrivilege(stringprivilege)
Parameters
privilege
string — Required
The privilege name to check
Returns
bool
True if the privilege is enabled, otherwise false

