BuildMaster SDK Reference
Version:
TaskChecker Class
Performs evaluation of privileges for a user directory.
Inheritance Hierarchy
- object
- Inedo.BuildMaster.Web.Security.TaskChecker
Syntax
public
class
TaskChecker
Methods
|
Name |
Description |
|
Create
|
Returns a new TaskChecker instance using the current directory provider.
|
|
Create(int userDirectoryId)
|
Returns a new TaskChecker instance.
|
|
FindPrivilege(Inedo.BuildMaster.Extensibility.UserDirectories.IUserDirectoryUser user, SecuredTask task, int? applicationGroupId, int? applicationId, int? environmentId, int? serverId)
|
Returns the ID of the evaluated privilege for the specified user and task.
|
|
GetEffectivePrivileges(Inedo.BuildMaster.Extensibility.UserDirectories.IUserDirectoryUser user, int applicationId, int environmentId)
|
Returns a sequence of tasks which the user is allowed to perform in the specified context.
|
|
IsAuthorizedForTask(Inedo.BuildMaster.Extensibility.UserDirectories.IUserDirectoryUser user, SecuredTask task, int? applicationGroupId, int? applicationId, int? environmentId, int? serverId)
|
Returns a value indicating whether the specified user is authorized for the specified task.
|
|
ValidatePrivileges(Inedo.BuildMaster.Extensibility.UserDirectories.IUserDirectoryUser user, SecuredTask task, int? applicationGroupId, int? applicationId, int? environmentId, int? serverId)
|
Verifies that the specified user can perform the specified task.
|