Method | Description | |
---|---|---|
AddAuthorisedRole ( string role, BusinessObjectActions actionToPerform ) : void |
This is a public method to be used for setting up tests.
|
|
IsAuthorised ( BusinessObjectActions actionToPerform ) : bool |
Whether the user is authorised to perform this action or not. This is an implementation of the IBusinessObjectAuthorisation method.
|
public AddAuthorisedRole ( string role, BusinessObjectActions actionToPerform ) : void | ||
role | string | the role that the user must be a member of |
actionToPerform | BusinessObjectActions | The action that can be performed by a user of this role |
return | void |
public IsAuthorised ( BusinessObjectActions actionToPerform ) : bool | ||
actionToPerform | BusinessObjectActions | |
return | bool |