Hide

YetaWF.Core Package Documentation

Display
Print

YetaWF.Core.Identity.ResourceAttribute Constructor

Constructor.

Class: YetaWF.Core.Identity.ResourceAttribute
Namespace: YetaWF.Core.Identity
Assembly: YetaWF.Core

Syntax

public ResourceAttribute(
    string name,
    string description );

Parameters

name

The name of the protected resource. The name must start with the package name defining the resource to avoid collisions. Example: YetaWF_Identity-AllowUserLogon.

description

A brief description of the protected resource. This description is shown when reviewing resources using Admin > Identity > Resources (standard YetaWF site).

See Also YetaWF.Core.Identity.ResourceAttribute ClassYetaWF.Core Overview