Поделиться через


Класс 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.)

В начало

Безопасность многопоточности

Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.

См. также

Справочник

Пространство имен Microsoft.MasterDataServices.Services.DataContracts