User Class |
Namespace: SOWIApp.Administrator
The User type exposes the following members.
Name | Description | |
---|---|---|
AppName |
AppName is Module name resp class name
(Inherited from AppStandardDataItemClass.) | |
ClientID |
Gives client ID by user of the app used. Set of UserThisApp (Inherited from AppStandardDataItemClass.) | |
ConnectionString |
Gives database connection string of the app used
(Inherited from ConnectorDataItemClass.) | |
DataGridView |
Gives translated standard DataGridView with this properties
AppName,
TableName,
UserName and
ClientID (Inherited from AppStandardDataItemClass.) | |
DataGridViewUserCreateSimple |
Data Grid View for user create
| |
DB |
Database object. Sets with method SetDB.
(Inherited from ConnectorDataItemClass.) | |
DictionaryUI |
Gives Dictionary for UI.
(Inherited from AppStandardDataItemClass.) | |
LanguageOut |
Gives language for UI from User. Can't setting then set default DE
(Inherited from AppStandardDataItemClass.) | |
NameUnchanged |
Flag no change value in field Name Default: false
(Inherited from ConnectorDataItemClass.) | |
NameUnique |
Flag whether Name unique Default: false
(Inherited from ConnectorDataItemClass.) | |
Permissions |
Gives permissions by User and Module
(Inherited from AppStandardDataItemClass.) | |
Provider |
Gives data provider type back.
(Inherited from ConnectorDataItemClass.) | |
RecordStandard |
Which data items read from database? All, active or archived records.
(Inherited from ConnectorDataItemClass.) | |
SortDirectionStandard |
Standard sort direction by sort field for example method GeAll
(Inherited from ConnectorDataItemClass.) | |
SortFieldStandard |
Standard sort field for example method GeAll
(Inherited from ConnectorDataItemClass.) | |
TableName |
usually TableName equal AppName
(Inherited from AppStandardDataItemClass.) | |
Token |
Session token, use for check permission and information for User name
(Inherited from AppStandardDataItemClass.) | |
UserName |
Gives user name of the app used
(Inherited from ConnectorDataItemClass.) | |
UserThisApp |
Gives user data item (SOWIData.Management.User) of the app used. The user is managed by UserName or set by constructor
(Inherited from AppStandardDataItemClass.) | |
XML |
XML object. Sets with method SetDB
(Inherited from ConnectorDataItemClass.) |
Name | Description | |
---|---|---|
Count(Records) |
Gives the count by all, active or archive data records
(Inherited from ConnectorDataItemClass.) | |
Count(String, Records) |
Gives the count by all, active or archive data records and filtering by Name
(Inherited from ConnectorDataItemClass.) | |
Create |
Create an User. Need Permission Create.
| |
Delete(Int32) |
User delete incl User Role
(Overrides ConnectorDataItemClassDelete(Int32).) | |
Delete(ListInt32) |
Delete all data items
(Inherited from ConnectorDataItemClass.) | |
Delete(String) |
Delete data item by Name
(Inherited from ConnectorDataItemClass.) | |
Equals | (Inherited from Object.) | |
Exist(Int32) |
Check exist data item by ID (hits can be multiple)
(Inherited from ConnectorDataItemClass.) | |
Exist(String) |
Check exist data item by Name (can be multiple)
(Inherited from ConnectorDataItemClass.) | |
ExistOne |
Check exist one data item by Name
(Inherited from ConnectorDataItemClass.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetAddressID(Int32) |
Gives Address ID from User
| |
GetAddressID(String) |
Gives Address ID by User Name without Permission check
| |
GetAll |
Get data list by standards value without parameter.
(Inherited from ConnectorDataItemClass.) | |
GetAll(Records) |
Get data list by Records (all, active, archived)
(Inherited from ConnectorDataItemClass.) | |
GetAll(String, SortDirections) |
Get data list details with sort parameters
(Inherited from ConnectorDataItemClass.) | |
GetAll(String, Operators, Object) |
Get data list by search parameter.
(Inherited from ConnectorDataItemClass.) | |
GetAll(String, SortDirections, String, Operators, Object, Records) |
Get data list with all parameters.
(Inherited from ConnectorDataItemClass.) | |
GetByID |
Gives one data item by ID
(Inherited from ConnectorDataItemClass.) | |
GetByName |
Data item search by field Name
(Inherited from ConnectorDataItemClass.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetLanguageUIs |
Gives data list based on Data Standard from Language for UI
| |
GetList |
Gives raw data list and is basis for all data processing
(Overrides ConnectorDataItemClassGetList.) | |
GetRoleGroups |
Gives data list on Data Standard from Role Group
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetUsers |
Gives User list by Client and active based of SOWIData IDataStandard
| |
GetView(ListViewConfig, DictionaryString, String) |
Gives a list of data by settings of ListView Config.
The list is divided into pages (paging).
(Inherited from AppStandardDataItemClass.) | |
GetView(ListViewConfig, String, DictionaryString, String) |
Data list configured by List View Config
(Inherited from AppStandardDataItemClass.) | |
Import(DataTable) |
Data import from a data table
(Inherited from AppStandardDataItemClass.) | |
Import(String) |
Data import from a CSV file. First row is column label.
(Inherited from AppStandardDataItemClass.) | |
Import(Stream, String, String) |
Data import from a stream with CSV structure. First row is column label.
(Inherited from AppStandardDataItemClass.) | |
ImportItem |
Import a data item
(Inherited from AppStandardDataItemClass.) | |
Initialize |
Database setting for use module
(Inherited from AppStandardDataItemClass.) | |
Insert(ListDataItemClass) |
Insert list of data items
(Inherited from ConnectorDataItemClass.) | |
Insert(DataItemClass) |
Insert data item
(Inherited from ConnectorDataItemClass.) | |
InsertOrUpdateByName |
If not exists data record by Name then call method Insert.
If exists data record unique then call method Update.
If more data records then trigger an exception DataFoundMoreAsOne
(Inherited from ConnectorDataItemClass.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OnDBActionDone |
event for override
(Inherited from AppStandardDataItemClass.) | |
OnDBActionPermission |
No permissions for insert, update and delete
(Overrides AppStandardDataItemClassOnDBActionPermission(Object, EventArgDataDataItemClass).) | |
OnDBActionPrepare |
Data prepare before database handling
(Inherited from AppStandardDataItemClass.) | |
OnDBActionPrepareApp |
Set Client ID
(Inherited from AppStandardDataItemClass.) | |
OnValidating |
Validating for required fields and can override
(Inherited from AppStandardDataItemClass.) | |
PasswordChange |
User password change
| |
PasswordReset |
Reset password by User name and email address. Can be anonymous
| |
PermissionCheck(CRUD) |
Check Permission CRUD and Session Token of this App and User
(Inherited from AppStandardDataItemClass.) | |
PermissionCheck(CRUD) |
Check Permission CRUD and Session Token of this App and User
(Inherited from AppStandardDataItemClass.) | |
SetDB |
Set database
(Overrides ConnectorDataItemClassSetDB.) | |
SetUserThisApp |
Setting object property UserThisApp (SOWIData.Management.User) by UserName
(Inherited from AppStandardDataItemClass.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
Update(ListDataItemClass) |
Data list update
(Inherited from ConnectorDataItemClass.) | |
Update(DataItemClass) |
Data item update
(Inherited from ConnectorDataItemClass.) | |
Upload(String) |
Data content upload - not implemented
(Inherited from AppStandardDataItemClass.) | |
Upload(DataItemClass, FileContent) |
Save file data to data item. This method can be overwrite.
(Inherited from AppStandardDataItemClass.) | |
Validate |
Validate data item
(Inherited from ConnectorDataItemClass.) | |
ValidateEventArgData | (Inherited from AppStandardDataItemClass.) | |
ValidateRequired |
Validate with Data Grid View (Required)
(Inherited from AppStandardDataItemClass.) | |
Write |
Write a document. This not implemented.
(Inherited from AppStandardDataItemClass.) |
Name | Description | |
---|---|---|
DBActionAfter |
Triggered by methods Get*, Insert, Update and Delete
(Inherited from ConnectorDataItemClass.) | |
DBActionBefore |
Triggered by methods Get*, Insert, Update and Delete
(Inherited from ConnectorDataItemClass.) | |
DBActionDone |
Triggered by methods Get*, Insert, Update and Delete
(Inherited from ConnectorDataItemClass.) | |
DBActionPermission |
Triggered by methods Get*, Insert, Update and Delete
(Inherited from ConnectorDataItemClass.) | |
DBActionPrepare |
Triggered by methods Get*, Insert, Update and Delete
(Inherited from ConnectorDataItemClass.) | |
Validating |
Triggered by method Validate
(Inherited from ConnectorDataItemClass.) |