Class PermissionSet
Represents a set of Permissions that can be allowed/denied.
Inheritance
System.Object
PermissionSet
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: VDS.RDF.Configuration.Permissions
Assembly: dotNetRDF.dll
Syntax
public class PermissionSet : IPermission
Constructors
| Improve this Doc View SourcePermissionSet(IEnumerable<String>)
Creates a new Permissions Set.
Declaration
public PermissionSet(IEnumerable<string> actions)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<System.String> | actions | Actions. |
PermissionSet(String)
Creates a new Permissions Set.
Declaration
public PermissionSet(string action)
Parameters
Type | Name | Description |
---|---|---|
System.String | action | Action. |
Methods
| Improve this Doc View SourceIsPermissionFor(String)
Gets whether the Permission is for the given action.
Declaration
public bool IsPermissionFor(string action)
Parameters
Type | Name | Description |
---|---|---|
System.String | action | Action. |
Returns
Type | Description |
---|---|
System.Boolean |