Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
RequiredPrivilegeAttribute.cs
1using System;
2
4{
8 [AttributeUsage(AttributeTargets.Method, AllowMultiple = true, Inherited = true)]
9 public class RequiredPrivilegeAttribute : Attribute
10 {
16 {
17 this.Privilege = Privilege;
18 }
19
23 public string Privilege { get; }
24 }
25}
Defines a privilege that is required by the user that calls a method.
RequiredPrivilegeAttribute(string Privilege)
Defines a privilege that is required by the user that calls a method.