在Metro风格应用中将当前用户标识为管理员 [英] Identify Current User as Admin in Metro Style App

查看:52
本文介绍了在Metro风格应用中将当前用户标识为管理员的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何判断已记录的用户是否为Metro风格应用程序中的管理员?我想将一些功能仅限于管理员,并且看不到
的角色 Windows.System.UserProfile 。

How can I tell if the logged user is an admin or not in a Metro style application? I would like to limit some functionality to admins only and do not see a role for Windows.System.UserProfile.

推荐答案

我会调查一下,看看我能挖出什么。 我会告诉你更新。
I'll look into this and see what I can dig up.  I'll keep you updated.


这篇关于在Metro风格应用中将当前用户标识为管理员的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆