共用方式為


PreviewTeamDeviceCredentials 類別

定義

提供裝置帳戶的認證, (不是 Surface Hub 上的使用者帳戶) 。 應用程式必須具有 teamEditionDeviceCredential 功能。 認證會以純文字提供未加密。

public ref class PreviewTeamDeviceCredentials sealed
/// [Windows.Foundation.Metadata.Activatable(65536, "Windows.UI.Core.Preview.Communications.PreviewCommunicationsContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.UI.Core.Preview.Communications.PreviewCommunicationsContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class PreviewTeamDeviceCredentials final
[Windows.Foundation.Metadata.Activatable(65536, "Windows.UI.Core.Preview.Communications.PreviewCommunicationsContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.UI.Core.Preview.Communications.PreviewCommunicationsContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class PreviewTeamDeviceCredentials
function PreviewTeamDeviceCredentials()
Public NotInheritable Class PreviewTeamDeviceCredentials
繼承
Object Platform::Object IInspectable PreviewTeamDeviceCredentials
屬性

Windows 需求

裝置系列
Windows Team Extension SDK (已於 10.0.19041.0 引進)
API contract
Windows.UI.Core.Preview.Communications.PreviewCommunicationsContract (已於 v1.0 引進)

建構函式

PreviewTeamDeviceCredentials()

初始化 PreviewTeamDeviceCredentials 物件的建構函式。

屬性

DomainUserName

裝置帳戶的網域使用者名稱。

Password

裝置帳戶密碼。

UserPrincipalName

裝置帳戶上的使用者主體名稱 (UPN) 。

適用於