Click or drag to resize

VGAuthorizeAttribute Class

Inheritance Hierarchy
SystemObject
  SystemAttribute
    FilterAttribute
      AuthorizationFilterAttribute
        AuthorizeAttribute
          Novalys.VisualGuard.Security.WebVGAuthorizeAttribute

Namespace:  Novalys.VisualGuard.Security.Web
Assembly:  Novalys.VisualGuard.Security.WebMvc (in Novalys.VisualGuard.Security.WebMvc.dll) Version: 2019.0.101.19 (2019.0.0101.19)
Syntax
public class VGAuthorizeAttribute : AuthorizeAttribute

The VGAuthorizeAttribute type exposes the following members.

Constructors
  NameDescription
Public methodVGAuthorizeAttribute
Initializes a new instance of the VGAuthorizeAttribute class
Top
Properties
  NameDescription
Public propertyAllowMultiple (Inherited from FilterAttribute.)
Public propertyPermissionIds
Property to define permission Ids in comma seperated
Public propertyPermissions
Property to define permissions in comma seperated
Public propertyRoleIds
Property to define Role Ids in comma seperated
Public propertyRoles (Inherited from AuthorizeAttribute.)
Public propertyTypeId (Inherited from AuthorizeAttribute.)
Public propertyUsers (Inherited from AuthorizeAttribute.)
Top
Methods
  NameDescription
Public methodEquals
Returns a value that indicates whether this instance is equal to a specified object.
(Inherited from Attribute.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Returns the hash code for this instance.
(Inherited from Attribute.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodHandleUnauthorizedRequest (Overrides AuthorizeAttribute.HandleUnauthorizedRequest(HttpActionContext).)
Protected methodIsAuthorized
Method to check if the user is authorized and has permissions assigned.
(Overrides AuthorizeAttribute.IsAuthorized(HttpActionContext).)
Public methodIsDefaultAttribute
When overridden in a derived class, indicates whether the value of this instance is the default value for the derived class.
(Inherited from Attribute.)
Public methodMatch
When overridden in a derived class, returns a value that indicates whether this instance equals a specified object.
(Inherited from Attribute.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodOnAuthorization
Overrided method to authorize VG user
(Overrides AuthorizeAttribute.OnAuthorization(HttpActionContext).)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also