User Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
[<System.Runtime.Serialization.DataContract(Name="User", Namespace="http://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")>]
type User = class
inherit SecurityPrincipalBase
Public NotInheritable Class User
Inherits SecurityPrincipalBase
- Inheritance
- Attributes
Remarks
The User complex type specifies an Active Directory user who has specific privileges assigned. These privileges were either inherited from an Active Directory group or directly assigned.
Constructors
User() |
Default constructor for the User. |
Properties
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 |
Specifies the EmailFormat. |
GroupPrivileges |
Specifies the list of group permission Identifiers. |
Identifier |
Specifies the user Identifier. (Inherited from SecurityPrincipalBase) |
LastLogOn |
Specifies the last login DateTime |
LoggedIn |
Specifies the flag indicating that is user is logged in. |
SecurityPrivilege |
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) |
Two users are equal if their SID is equal (Inherited from SecurityPrincipalBase) |
GetHashCode() |
A good basis for hash code is the user's SID (Inherited from SecurityPrincipalBase) |
SetProperty<T>(T, T, String, Boolean) |
Changes the property to the given value. |
SetProperty<T>(T, T, String) |
Changes the property to the given value. |