Share via


SecurityPrincipalBase Class

Definition

Base class for user and group.

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

Remarks

The SecurityPrincipalBase specifies base class for user and group.

Constructors

SecurityPrincipalBase()

Default constructor for the User.

Properties

AuditInfo

Specifies the AuditInfo.

Description

Specifies the description for the security principal.

Identifier

Specifies the user Identifier.

SecurityPrivilege

Specifies the list of SecurityPrivileges assigned to the principal.

SID

The security token identifier for the security principal.

Methods

Equals(Object)

Two users are equal if their SID is equal

GetHashCode()

A good basis for hash code is the user's SID

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)
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)

Applies to