Please enable JavaScript to view this site.

Navigation: » No topics above this level «

DAL method: UsersTableName() (Deprecated)

Scroll Prev Next More

 

Deprecated

This function is deprecated, and we recommend using Security API.

 

Returns a properly formatted login table name.

Syntax

UsersTableName()

Arguments

No arguments.

Return value

Returns properly formatted login table name.

Example

Print all email addresses from the Users table:

 

string sql = "select * from " + tDAL.UsersTableName().ToString();
XVar rs = tDAL.CustomQuery(sql);
XVar emailsData;
while (emailsData = CommonFunctions.db_fetch_array(rs))
  MVCFunctions.Echo(emailsData["EmailAddress"].ToString() + "<br>");

See also:

DAL Method: Custom Query

DAL Method: TableName

About Security API

Database API

About Data Access Layer