#1 2021-10-06 23:39:59

mongkey
Member
Registered: 2021-08-26
Posts: 17

Retrieving current user right

anyone know how to do that?

I want to isolate interface by user right.

interface "a"

if user right =Admin then  do "a"

Thank you.

Offline

#2 2021-10-07 07:05:18

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,656
Website

Re: Retrieving current user right

Use https://synopse.info/files/html/Synopse … l#TITL_107

You have access to the user information e.g. via Request.UserGroup.

Offline

#3 2021-10-07 09:29:29

mongkey
Member
Registered: 2021-08-26
Posts: 17

Re: Retrieving current user right

ok, done, thank you

i do -> if ServiceContext.Request.SessionGroup=0 then begin

Offline

Board footer

Powered by FluxBB