Class PermissionGroup
Inheritance
System.Object
PermissionGroup
Assembly: OpenAPI.dll
Syntax
public class PermissionGroup : IEnumerable<KeyValuePair<string, bool>>
Constructors
|
Improve this Doc
View Source
PermissionGroup(String)
Declaration
public PermissionGroup(string name)
Parameters
Type |
Name |
Description |
System.String |
name |
|
Properties
|
Improve this Doc
View Source
Dirty
Declaration
public bool Dirty { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Item[String]
Declaration
public bool this[string permission] { get; set; }
Parameters
Type |
Name |
Description |
System.String |
permission |
|
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Name
Declaration
public string Name { get; }
Property Value
Type |
Description |
System.String |
|
Methods
|
Improve this Doc
View Source
Contains(String)
Declaration
public bool Contains(string permissionIntern)
Parameters
Type |
Name |
Description |
System.String |
permissionIntern |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
GetEnumerator()
Declaration
public IEnumerator GetEnumerator()
Returns
Type |
Description |
IEnumerator |
|
|
Improve this Doc
View Source
RemovePermission(String)
Declaration
public void RemovePermission(string permission)
Parameters
Type |
Name |
Description |
System.String |
permission |
|
|
Improve this Doc
View Source
SetPermission(String, Boolean)
Declaration
public void SetPermission(string permission, bool value)
Parameters
Type |
Name |
Description |
System.String |
permission |
|
System.Boolean |
value |
|