Share via


PreviewTeamDeviceCredentials Class

Definition

Provides the credentials for the device account (not the user account) on the Surface Hub. The app must have the teamEditionDeviceCredential capability. The credential is provided unencrypted in plain text.

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
Inheritance
Object Platform::Object IInspectable PreviewTeamDeviceCredentials
Attributes

Windows requirements

Device family
Windows Team Extension SDK (introduced in 10.0.19041.0)
API contract
Windows.UI.Core.Preview.Communications.PreviewCommunicationsContract (introduced in v1.0)

Constructors

PreviewTeamDeviceCredentials()

Constructor to initialize the PreviewTeamDeviceCredentials object.

Properties

DomainUserName

The domain username for the device account.

Password

The device account password.

UserPrincipalName

The user principal name (UPN) on the device account.

Applies to