21 namespace Deveel.Data.Security {
24 : this(userName, objectName,
Privileges.None) {
28 : this(userName, objectName, privileges, MakeMessage(userName, objectName, privileges)) {
32 : this(userName, objectName,
Privileges.None, message) {
42 public string UserName {
get;
private set; }
50 return String.Format(
"User '{0}' has not enough privileges to operate on the object '{1}'.", userName, objectName);
52 return String.Format(
"User '{0}' has not the privilege '{1}' on the object '{2}'.", userName, privileges, objectName);
MissingPrivilegesException(string userName, ObjectName objectName, string message)
MissingPrivilegesException(string userName, ObjectName objectName, Privileges privileges)
Describes the name of an object within a database.
MissingPrivilegesException(string userName, ObjectName objectName, Privileges privileges, string message)
static string MakeMessage(string userName, ObjectName objectName, Privileges privileges)
MissingPrivilegesException(string userName, ObjectName objectName)