usernameSource enum type

Namespace: microsoft.graph

Important: Microsoft Graph APIs under the /beta version are subject to change; production use is not supported.

Note: The Microsoft Graph API for Intune requires an active Intune license for the tenant.

Username source.

Members

Member Value Description
userPrincipalName 0 User principal name.
primarySmtpAddress 1 Primary SMTP address.
samAccountName 2 The user sam account name.