Re: getUserGroupsメソッドでグループ名を取得したい
2017年5月10日 at 21:05
リンク先は、レガシーバージョン(5.6)での解説ですね。
最新版では、idの配列を返すのが仕様になっています。
http://github.com/concrete5/concrete5/blob/8.1.0/concrete/src/User/User.php#L511-L515
グループのIDが分かれば、グループ名などをPHPで取得することが可能です。
未翻訳なので英語のドキュメントになりますが、こちらご参考まで。
http://documentation.concrete5.org/developers/users-groups/groups/overview
Your post has been saved and will be published after approval by the forum moderator.