Share via


User Class

Defines the data contract for the user object.

Inheritance Hierarchy

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

Namespace:  Microsoft.MasterDataServices.Services.DataContracts
Assembly:  Microsoft.MasterDataServices.Services.Contracts (in Microsoft.MasterDataServices.Services.Contracts.dll)

Syntax

'Declaration
<DataContractAttribute(Name := "User", Namespace := "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")> _
Public NotInheritable Class User _
    Inherits DataContractBase
'Usage
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

The User type exposes the following members.

Constructors

  Name Description
Public method User Initializes a new instance of the User class.

Top

Properties

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

Top

Methods

  Name Description
Public method Equals Indicates whether the specified user is equal to the current user. (Overrides Object.Equals(Object).)
Public method GetHashCode Gets the hash code for data contract user. (Overrides Object.GetHashCode().)
Public method GetType (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.MasterDataServices.Services.DataContracts Namespace