25 namespace Deveel.Data.Sql.Statements {
29 if (alterAction == null)
30 throw new ArgumentNullException(
"alterAction");
31 if (String.IsNullOrEmpty(userName))
32 throw new ArgumentNullException(
"userName");
35 AlterAction = alterAction;
43 public string UserName {
get;
private set; }
48 var action = AlterAction;
57 data.
SetValue(
"Action", AlterAction);
63 context.
Request.
Query.AlterUserPassword(UserName, password);
67 .
Select(x => x.Value.Value.ToString())
70 context.
Request.
Query.SetUserGroups(UserName, groupNames);
AlterUserStatement(ObjectData data)
AlterUserStatement(string userName, IAlterUserAction alterAction)
void SetValue(string key, Type type, object value)
override void ExecuteStatement(ExecutionContext context)
Represents the foundation class of SQL statements to be executed.
An interface used to prepare a SqlExpression object.
override void GetData(SerializeData data)
An expression that holds a constant value.
object Prepare(IExpressionPreparer preparer)
Converts the underlying value of this instance into an object that can be evaluated by an expression...
object GetValue(string key)
A contract for objects that participate to a SqlExpression.Prepare phase of an expression evaluation...
string GetString(string key)