1 (edited by dingzhixin 2022-01-17 12:45:28)

Topic: about access contrl

MVDB can develop an app like forum with these functions
1.user login by password
2.user only list and edit delete his data when he loginned
3.staff leader can list .edit delete approve  the  staff member's  data
4.admin can list all data
the staff  maybe divide into 3 groups,and the staff members is about 100 person.

Re: about access contrl

yes

Domebil

Re: about access contrl

How to get the user's name if I use the MVDB ACCESS CONTROL?

Re: about access contrl

Hi,
All of the MVD access controls (including the user name) are available.
These are accessed as follows:
Application.User.Username;
Application.User.Email;
Application.User.First_name;
Application.User.Last_name;
Application.User.Role;
Application.User.RoleId;
Application.User.is_admin;
Application.User.is_active;
Application.User.is_logged;
Application.User.Last_login;
Application.User.Date_joined;
Derek.

Re: about access contrl

derek wrote:

Hi,
All of the MVD access controls (including the user name) are available.
These are accessed as follows:
Application.User.Username;
Application.User.Email;
Application.User.First_name;
Application.User.Last_name;
Application.User.Role;
Application.User.RoleId;
Application.User.is_admin;
Application.User.is_active;
Application.User.is_logged;
Application.User.Last_login;
Application.User.Date_joined;
Derek.

Thank you very much Derek.