BuildMaster SDK Reference
Version:

SecuredTaskDeniedException Class

The exception that is thrown when a user cannot perform a task.

Inheritance Hierarchy

  • object
    • System.Exception
      • System.SystemException
        • System.Security.SecurityException
          • Inedo.BuildMaster.Web.Security.SecuredTaskDeniedException

Syntax

public class SecuredTaskDeniedException : System.Security.SecurityException, System.Runtime.Serialization.ISerializable

Properties

Name Description
DeniedPrivilegeId

Gets the ID of the deny privilege if applicable.

Message

Gets a friendly description of the error.

SecuredTask

Gets the task which the user tried to perform.

UserName

Gets the name of the user which tried to perform the task.