UserPrincipal 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
封装作为用户帐户的主体。
public ref class UserPrincipal : System::DirectoryServices::AccountManagement::AuthenticablePrincipal
[System.DirectoryServices.AccountManagement.DirectoryRdnPrefix("CN")]
public class UserPrincipal : System.DirectoryServices.AccountManagement.AuthenticablePrincipal
[System.DirectoryServices.AccountManagement.DirectoryRdnPrefix("CN")]
[System.Security.SecurityCritical(System.Security.SecurityCriticalScope.Everything)]
public class UserPrincipal : System.DirectoryServices.AccountManagement.AuthenticablePrincipal
[<System.DirectoryServices.AccountManagement.DirectoryRdnPrefix("CN")>]
type UserPrincipal = class
inherit AuthenticablePrincipal
[<System.DirectoryServices.AccountManagement.DirectoryRdnPrefix("CN")>]
[<System.Security.SecurityCritical(System.Security.SecurityCriticalScope.Everything)>]
type UserPrincipal = class
inherit AuthenticablePrincipal
Public Class UserPrincipal
Inherits AuthenticablePrincipal
- 继承
- 属性
构造函数
UserPrincipal(PrincipalContext) |
使用指定的上下文初始化 UserPrincipal 类的新实例。 |
UserPrincipal(PrincipalContext, String, String, Boolean) |
使用指定的上下文、SAM 帐户名、密码和启用的值初始化 UserPrincipal 类的新实例。 |