18 using System.Collections.Generic;
23 namespace Deveel.Data.Security {
29 public static readonly
User Public =
new User(PublicName);
37 internal User(
string name) {
38 if (String.IsNullOrEmpty(name))
39 throw new ArgumentNullException(
"name");
47 public const string PublicName =
"@PUBLIC";
52 public const string SystemName =
"@SYSTEM";
57 public string Name {
get;
private set; }
64 public bool IsSystem {
65 get {
return Name.Equals(SystemName); }
72 public bool IsPublic {
73 get {
return Name.Equals(PublicName); }
User(string name)
Constructs a new user with the given name.
Dictionary< ObjectName, Privileges > grantCache
Provides the information for a user in a database system