User 类

Defines the data contract for the user object.

继承层次结构

System.Object
  Microsoft.MasterDataServices.Services.DataContracts.DataContractBase
    Microsoft.MasterDataServices.Services.DataContracts.User

命名空间:  Microsoft.MasterDataServices.Services.DataContracts
程序集:  Microsoft.MasterDataServices.Services.Contracts(在 Microsoft.MasterDataServices.Services.Contracts.dll 中)

语法

声明
<DataContractAttribute(Name := "User", Namespace := "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")> _
Public NotInheritable Class User _
    Inherits DataContractBase
用法
Dim instance As User
[DataContractAttribute(Name = "User", Namespace = "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")]
public sealed class User : DataContractBase
[DataContractAttribute(Name = L"User", Namespace = L"https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")]
public ref class User sealed : public DataContractBase
[<SealedAttribute>]
[<DataContractAttribute(Name = "User", Namespace = "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")>]
type User =  
    class 
        inherit DataContractBase 
    end
public final class User extends DataContractBase

User 类型公开以下成员。

构造函数

  名称 说明
公共方法 User Initializes a new instance of the User class.

页首

属性

  名称 说明
公共属性 AuditInfo Gets or sets the audit information.
公共属性 Description Gets or sets the description for the user.
公共属性 DisplayName Gets or sets the display name of the user.
公共属性 EmailAddress Gets or sets the email address.
公共属性 EmailFormat Gets or sets the email format.
公共属性 GroupPrivileges Gets or sets the list of group permission identifiers.
公共属性 Identifier Gets or sets the user identifier.
公共属性 LastLogOn Gets or sets the date and time of last log on.
公共属性 LoggedIn Gets or sets a value that indicates whether the user is logged in.
公共属性 SecurityPrivilege Gets or sets the list of security privileges.
公共属性 SID Gets or sets the security token identifier for the user.

页首

方法

  名称 说明
公共方法 Equals Indicates whether the specified user is equal to the current user. (覆盖 Object.Equals(Object)。)
公共方法 GetHashCode Gets the hash code for data contract user. (覆盖 Object.GetHashCode()。)
公共方法 GetType (从 Object 继承。)
公共方法 ToString (从 Object 继承。)

页首

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。

请参阅

参考

Microsoft.MasterDataServices.Services.DataContracts 命名空间