Show / Hide Table of Contents

Class AclEntry

ACL or Access Control List is a set of rights grouped together to create a list

Inheritance
Object
AclEntry
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: Slipe.Server.Acl
Assembly: SlipeServer.dll
Syntax
public class AclEntry

Constructors

| Improve this Doc View Source

AclEntry(String)

Create a new ACL entry

Declaration
public AclEntry(string name)
Parameters
Type Name Description
String name

Fields

| Improve this Doc View Source

entry

Declaration
protected MtaAcl entry
Field Value
Type Description
Slipe.MtaDefinitions.MtaAcl

Properties

| Improve this Doc View Source

ACL

Returns the MTA ACL class instance

Declaration
public MtaAcl ACL { get; }
Property Value
Type Description
Slipe.MtaDefinitions.MtaAcl
| Improve this Doc View Source

All

Get an array of all ACL entries on this server

Declaration
public static AclEntry[] All { get; }
Property Value
Type Description
AclEntry[]
| Improve this Doc View Source

Name

Return the name of this ACL entry

Declaration
public string Name { get; }
Property Value
Type Description
String

Methods

| Improve this Doc View Source

Destroy()

Removes this ACL entry

Declaration
public bool Destroy()
Returns
Type Description
Boolean
| Improve this Doc View Source

Get(String)

Get an existing ACL entry from its name

Declaration
public static AclEntry Get(string name)
Parameters
Type Name Description
String name
Returns
Type Description
AclEntry
| Improve this Doc View Source

GetRight(String)

Get a right by its name

Declaration
public bool GetRight(string right)
Parameters
Type Name Description
String right
Returns
Type Description
Boolean
| Improve this Doc View Source

GetRights(AclRightEnum)

Get an array of all rights on this ACL entry

Declaration
public string[] GetRights(AclRightEnum rightType)
Parameters
Type Name Description
AclRightEnum rightType
Returns
Type Description
String[]
| Improve this Doc View Source

RemoveRight(String)

Removes a right form this ACL entry

Declaration
public bool RemoveRight(string right)
Parameters
Type Name Description
String right
Returns
Type Description
Boolean
| Improve this Doc View Source

SetRight(String, Boolean)

Set a new right on this ACL entry

Declaration
public bool SetRight(string right, bool hasAccess)
Parameters
Type Name Description
String right
Boolean hasAccess
Returns
Type Description
Boolean
  • Improve this Doc
  • View Source
Back to top Generated by DocFX