网页
图片
视频
学术
词典
地图
更多
航班
笔记本
My.User.IsInRole
例句
释义:
全部
全部
类别:
全部
全部
,
口语
口语
,
书面语
书面语
,
标题
标题
,
技术
技术
来源:
全部
全部
,
字典
字典
,
网络
网络
难度:
全部
全部
,
简单
简单
,
中等
中等
,
难
难
更多例句筛选
收起例句筛选
1.
The
My
.
User
.
IsInRole
method
lets
your
code
to
determine
whether
the
current
user
is
a
member
of
the
specified
role
.
使用
My.User.IsInRole
方法
,
代码
可以
确定
当前
用户
是否
是
指定
角色
的
成员
。
msdn2.microsoft.com
2.
This
example
uses
the
My
.
User
.
IsInRole
method
to
determine
if
the
user
is an
administrator
before
accessing
a
resource
.
此
示例
使用
My.User.IsInRole
方法
确定
用户
在
访问
资源
之前
是否
为
管理员
。
msdn2.microsoft.com
3.
This
example
shows
how
to
use
the
My
.
User
.
IsInRole
method
to
determine
if
the
user
is a
member
of a
particular
group
.
此
示例
演示
如何
使用
My.User.IsInRole
方法
确定
用户
是否
为
特定
组
的
成员
。
msdn2.microsoft.com
4.
The
overload
of
the
My
.
User
.
IsInRole
method
that
takes
a
string
provides easy
access
to
the IsInRole
method
of the
current
principal
.
采用
一个
字符串
的
My.User.IsInRole
方法
的
重载
提供
了
简易
方法
来
访问
当前
主体
的
IsInRole
方法
。
msdn2.microsoft.com
5.
Indicates
the
type
of
role
to
check
when
calling
the
My
.
User
.
IsInRole
Method
.
指示
在
调用
My.User.IsInRole
方法
时
检查
的
角色
类型
。
msdn2.microsoft.com