IAdmM365UsernamePwdTenantCredential

The IAdmM365UsernamePwdTenantCredential interface represents account credential used to authenticate to the Microsoft 365 tenant.

Inheritance: IAdmM365TenantCredential

Methods

  • Method

  • Description

  • SetPassword()

  • Sets the password used to authenticate to the Microsoft 365 tenant.

Properties

  • Property

  • Description

  • Username

  • Gets or sets the username for authentication to the Microsoft 365 tenant.

Details

SetPassword()

Sets the password used to authenticate to the Microsoft 365 tenant.

void SetPassword(string password)

Username

Gets or sets the username for authentication to the Microsoft 365 tenant.

  • Type:
  • string
  • Access:
  • Read/Write

Requirements

Minimum required version: 2023

See also