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
type SecurityPrincipalBase = class
    inherit DataContractBase
Public Class SecurityPrincipalBase
Inherits DataContractBase
Inheritance
SecurityPrincipalBase
Derived
Attributes

Remarks

为用户和组指定基类。SecurityPrincipalBaseThe SecurityPrincipalBase specifies base class for user and group.

Constructors

SecurityPrincipalBase()

User默认构造函数。Default constructor for the User.

Properties

AuditInfo

AuditInfo指定。Specifies the AuditInfo.

Description

指定安全主体的描述。Specifies the description for the security principal.

Identifier

指定用户IdentifierSpecifies the user Identifier.

SecurityPrivilege

指定SecurityPrivileges分配给主体的列表。Specifies the list of SecurityPrivileges assigned to the principal.

SID

安全主体的安全令牌标识符。The security token identifier for the security principal.

Methods

Equals(Object)

如果两个用户的 SID 相等, 则这两个用户相等Two users are equal if their SID is equal

GetHashCode()

哈希代码的一个很好的基础是用户的 SIDA good basis for hash code is the user's SID

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

Applies to