Ali, I may have already answered this question in your other post, but from Qlik sense point of view you can create a UDC (user directory connector) to the database. When you setup your UDC you provide a User Directory name which essentially becomes your domain name. This domain name can be used in section access. You can then also use the same directory name to allocate tokens via a user access rule eg. ((user.userDirectory="udcname")).
Apologies if i have the requirement wrong.