User Class

Definition

表示 MDS 系统已知的用户, 可以为其分配安全权限。Represents a user known to the MDS system, to whom security permissions may be assigned.

public ref class User sealed : Microsoft::MasterDataServices::Services::DataContracts::SecurityPrincipalBase
[System.Runtime.Serialization.DataContract(Name="User", Namespace="http://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")]
public sealed class User : Microsoft.MasterDataServices.Services.DataContracts.SecurityPrincipalBase
type User = class
    inherit SecurityPrincipalBase
Public NotInheritable Class User
Inherits SecurityPrincipalBase
Inheritance
Attributes

Remarks

User复杂类型指定分配有特定特权的 Active Directory 用户。The User complex type specifies an Active Directory user who has specific privileges assigned. 这些权限是从 Active Directory 组继承的, 或者是直接分配的。These privileges were either inherited from an Active Directory group or directly assigned.

Constructors

User()

User默认构造函数。Default constructor for the User.

Properties

AuditInfo

AuditInfo指定。Specifies the AuditInfo.

(Inherited from SecurityPrincipalBase)
Description

指定安全主体的描述。Specifies the description for the security principal.

(Inherited from SecurityPrincipalBase)
DisplayName

指定用户的显示名称。Specifies the user's display name.

EmailAddress

指定电子邮件地址。Specifies the email address.

EmailFormat

EmailFormat指定。Specifies the EmailFormat.

GroupPrivileges

指定组权限Identifier的列表。Specifies the list of group permission Identifiers.

Identifier

指定用户IdentifierSpecifies the user Identifier.

(Inherited from SecurityPrincipalBase)
LastLogOn

指定上次登录DateTimeSpecifies the last login DateTime

LoggedIn

指定指示用户是否已登录的标志。Specifies the flag indicating that is user is logged in.

SecurityPrivilege

指定SecurityPrivileges分配给主体的列表。Specifies the list of SecurityPrivileges assigned to the principal.

(Inherited from SecurityPrincipalBase)
SID

安全主体的安全令牌标识符。The security token identifier for the security principal.

(Inherited from SecurityPrincipalBase)

Methods

Equals(Object)

如果两个用户的 SID 相等, 则这两个用户相等Two users are equal if their SID is equal

(Inherited from SecurityPrincipalBase)
GetHashCode()

哈希代码的一个很好的基础是用户的 SIDA good basis for hash code is the user's SID

(Inherited from SecurityPrincipalBase)
SetProperty<T>(T, T, String)

将属性更改为给定的值。Changes the property to the given value.
返回新值是否不同于旧值。Returns whether the new value is different from the old value.

(Inherited from DataContractBase)
SetProperty<T>(T, T, String, Boolean)

将属性更改为给定的值。Changes the property to the given value.
返回新值是否不同于旧值。Returns whether the new value is different from the old value.

(Inherited from DataContractBase)

Applies to