Board Thread:Support Requests - Getting Technical/@comment-3271569-20130619123136/@comment-1158325-20130622071816

Do you mean how to find out in code if a user has admin rights? Use wgUserGroups.