DeveelDB  20151217
complete SQL database system, primarly developed for .NET/Mono frameworks
Public Attributes | Static Public Attributes | Package Functions | Properties | Private Attributes | List of all members
Deveel.Data.Security.User Class Reference

Provides the information for a user in a database system More...

Public Attributes

const string PublicName = "@PUBLIC"
 The name of the PUBLIC special user. More...
 
const string SystemName = "@SYSTEM"
 The name of the SYSTEM special user. More...
 

Static Public Attributes

static readonly User System = new User(SystemName)
 
static readonly User Public = new User(PublicName)
 

Package Functions

 User (string name)
 Constructs a new user with the given name. More...
 

Properties

string Name [get, private set]
 Gets the name that uniquely identify a user within a database system. More...
 
bool IsSystem [get]
 Gets a boolean value indicating if this user represents the SYSTEM special user. More...
 
bool IsPublic [get]
 Gets a boolean value indicating if this user represents the PUBLIC special user. More...
 

Private Attributes

Dictionary< ObjectName, PrivilegesgrantCache
 

Detailed Description

Provides the information for a user in a database system

Definition at line 27 of file User.cs.

Constructor & Destructor Documentation

Deveel.Data.Security.User.User ( string  name)
inlinepackage

Constructs a new user with the given name.

Parameters
name

Definition at line 37 of file User.cs.

37  {
38  if (String.IsNullOrEmpty(name))
39  throw new ArgumentNullException("name");
40 
41  Name = name;
42  }
A long string in the system.
string Name
Gets the name that uniquely identify a user within a database system.
Definition: User.cs:57

Member Data Documentation

Dictionary<ObjectName, Privileges> Deveel.Data.Security.User.grantCache
private

Definition at line 31 of file User.cs.

readonly User Deveel.Data.Security.User.Public = new User(PublicName)
static

Definition at line 29 of file User.cs.

const string Deveel.Data.Security.User.PublicName = "@PUBLIC"

The name of the PUBLIC special user.

Definition at line 47 of file User.cs.

readonly User Deveel.Data.Security.User.System = new User(SystemName)
static

Definition at line 28 of file User.cs.

const string Deveel.Data.Security.User.SystemName = "@SYSTEM"

The name of the SYSTEM special user.

Definition at line 52 of file User.cs.

Property Documentation

bool Deveel.Data.Security.User.IsPublic
get

Gets a boolean value indicating if this user represents the PUBLIC special user.

Definition at line 72 of file User.cs.

bool Deveel.Data.Security.User.IsSystem
get

Gets a boolean value indicating if this user represents the SYSTEM special user.

See also
SystemName

Definition at line 64 of file User.cs.

string Deveel.Data.Security.User.Name
getprivate set

Gets the name that uniquely identify a user within a database system.

Definition at line 57 of file User.cs.


The documentation for this class was generated from the following file: