Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
6286 Lượt xem

Hello,

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

Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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.

Ảnh đại diện
Huỷ bỏ