个人资料图片
  • 网页
  • 图片
  • 视频
  • 学术
  • 词典
  • 地图
  • 更多
    • 航班
  • 笔记本

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
© 2026 Microsoft
  • 隐私
  • 条款
  • 广告
  • 帮助
  • 反馈