UpnEndpointIdentity 類別

定義

表示當繫結利用 SSPINegotiate 驗證模式時,所使用之身分識別的使用者主體名稱 (UPN)。Represents a user principal name (UPN) for an identity which is used when the binding utilizes the SSPINegotiate authentication mode.

public ref class UpnEndpointIdentity : System::ServiceModel::EndpointIdentity
public class UpnEndpointIdentity : System.ServiceModel.EndpointIdentity
type UpnEndpointIdentity = class
    inherit EndpointIdentity
Public Class UpnEndpointIdentity
Inherits EndpointIdentity
繼承
UpnEndpointIdentity

備註

使用者帳戶名稱 (UPN) 是使用者名稱 (有時稱為使用者登入名稱) 和識別使用者帳戶所在之網域的網域名稱。A user account name (UPN) is the user name (sometimes referred to as the user logon name) and a domain name that identifies the domain in which the user account is located. 這是登入 Windows 網域的其中一種標準方法。This is one of the standard ways to log on to a Windows domain. 格式為: someone@example.com (如電子郵件地址)。The format is: someone@example.com (as for an email address).

下層登入名稱也可以用來建立 UpnEndpointIdentityA Down-Level Logon Name can also be used for creating a UpnEndpointIdentity.

建構函式

UpnEndpointIdentity(Claim)

從宣告初始化 UpnEndpointIdentity 類別的新執行個體。Initializes a new instance of the UpnEndpointIdentity class from a claim.

UpnEndpointIdentity(String)

UpnEndpointIdentity 類別的新執行個體初始化。Initializes a new instance of the UpnEndpointIdentity class.

屬性

IdentityClaim

取得對應到身分識別的身分識別宣告。Gets the identity claim that corresponds to the identity.

(繼承來源 EndpointIdentity)

方法

Equals(Object)

傳回值,這個值會判斷指定的物件是否與目前的身分識別物件相等,或是否擁有相同的安全性屬性。Returns a value that determines whether a specified object is equal to the current identity object or if they have equal security properties.

(繼承來源 EndpointIdentity)
GetHashCode()

針對身分識別目前的執行個體提供雜湊程式碼。Provides a hash code for the current instance of the identity.

(繼承來源 EndpointIdentity)
GetType()

取得目前執行個體的 TypeGets the Type of the current instance.

(繼承來源 Object)
Initialize(Claim)

使用指定的宣告初始化 EndpointIdentityInitializes an EndpointIdentity with the specified claim.

(繼承來源 EndpointIdentity)
Initialize(Claim, IEqualityComparer<Claim>)

使用指定的宣告及介面來初始化 EndpointIdentity 並比較是否相等。Initializes an EndpointIdentity with the specified claim and an interface and compares equality.

(繼承來源 EndpointIdentity)
MemberwiseClone()

建立目前 Object 的淺層複製。Creates a shallow copy of the current Object.

(繼承來源 Object)
ToString()

傳回身分識別。Returns the identity.

(繼承來源 EndpointIdentity)

適用於