MixERP.Net.Schemas.Policy.Data.ChangePasswordProcedure Class Reference

Prepares, validates, and executes the function "policy.change_password(_admin_user_id integer, _user_name text, _new_password text)" on the database. More...

Inheritance diagram for MixERP.Net.Schemas.Policy.Data.ChangePasswordProcedure:
PetaPoco.DbAccess PetaPoco.IDBAccess

Public Member Functions

 ChangePasswordProcedure ()
 Prepares, validates, and executes the function "policy.change_password(_admin_user_id integer, _user_name text, _new_password text)" on the database. More...
 
 ChangePasswordProcedure (int adminUserId, string userName, string newPassword)
 Prepares, validates, and executes the function "policy.change_password(_admin_user_id integer, _user_name text, _new_password text)" on the database. More...
 
void Execute ()
 Prepares and executes the function "policy.change_password". More...
 
- Public Member Functions inherited from PetaPoco.DbAccess
void Validate (AccessTypeEnum type, long loginId, bool noException)
 Validates application user access rights to execute the function. More...
 

Public Attributes

override string ObjectNamespace => "policy"
 The schema of this PostgreSQL function. More...
 
override string ObjectName => "change_password"
 The schema unqualified name of this PostgreSQL function. More...
 

Properties

long _LoginId [get, set]
 Login id of application user accessing this PostgreSQL function. More...
 
int _UserId [get, set]
 User id of application user accessing this table. More...
 
string Catalog [get, set]
 The name of the database on which queries are being executed to. More...
 
int AdminUserId [get, set]
 Maps to "_admin_user_id" argument of the function "policy.change_password". More...
 
string UserName [get, set]
 Maps to "_user_name" argument of the function "policy.change_password". More...
 
string NewPassword [get, set]
 Maps to "_new_password" argument of the function "policy.change_password". More...
 
- Properties inherited from PetaPoco.DbAccess
abstract string ObjectNamespace [get]
 
abstract string ObjectName [get]
 
bool HasAccess [get]
 
bool Validated [get]
 
bool SkipValidation [get, set]
 
- Properties inherited from PetaPoco.IDBAccess
bool HasAccess [get]
 

Detailed Description

Prepares, validates, and executes the function "policy.change_password(_admin_user_id integer, _user_name text, _new_password text)" on the database.

Constructor & Destructor Documentation

MixERP.Net.Schemas.Policy.Data.ChangePasswordProcedure.ChangePasswordProcedure ( )

Prepares, validates, and executes the function "policy.change_password(_admin_user_id integer, _user_name text, _new_password text)" on the database.

MixERP.Net.Schemas.Policy.Data.ChangePasswordProcedure.ChangePasswordProcedure ( int  adminUserId,
string  userName,
string  newPassword 
)

Prepares, validates, and executes the function "policy.change_password(_admin_user_id integer, _user_name text, _new_password text)" on the database.

Parameters
adminUserIdEnter argument value for "_admin_user_id" parameter of the function "policy.change_password".
userNameEnter argument value for "_user_name" parameter of the function "policy.change_password".
newPasswordEnter argument value for "_new_password" parameter of the function "policy.change_password".

Member Function Documentation

void MixERP.Net.Schemas.Policy.Data.ChangePasswordProcedure.Execute ( )

Prepares and executes the function "policy.change_password".

Member Data Documentation

override string MixERP.Net.Schemas.Policy.Data.ChangePasswordProcedure.ObjectName => "change_password"

The schema unqualified name of this PostgreSQL function.

override string MixERP.Net.Schemas.Policy.Data.ChangePasswordProcedure.ObjectNamespace => "policy"

The schema of this PostgreSQL function.

Property Documentation

long MixERP.Net.Schemas.Policy.Data.ChangePasswordProcedure._LoginId
getset

Login id of application user accessing this PostgreSQL function.

int MixERP.Net.Schemas.Policy.Data.ChangePasswordProcedure._UserId
getset

User id of application user accessing this table.

int MixERP.Net.Schemas.Policy.Data.ChangePasswordProcedure.AdminUserId
getset

Maps to "_admin_user_id" argument of the function "policy.change_password".

string MixERP.Net.Schemas.Policy.Data.ChangePasswordProcedure.Catalog
getset

The name of the database on which queries are being executed to.

string MixERP.Net.Schemas.Policy.Data.ChangePasswordProcedure.NewPassword
getset

Maps to "_new_password" argument of the function "policy.change_password".

string MixERP.Net.Schemas.Policy.Data.ChangePasswordProcedure.UserName
getset

Maps to "_user_name" argument of the function "policy.change_password".


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