Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
6288 มุมมอง

Hello,

i want to get current user login and his groups , how to write it in method python?

อวตาร
ละทิ้ง
ผู้เขียน คำตอบที่ดีที่สุด

is there another way to get current user and his group ?

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Refer the link  https://answers.launchpad.net/openobject-server/+question/178779

In the link _check_permissions function field is defined to get user name and group.

อวตาร
ละทิ้ง