GraphUserPrincipalNameCreationContext interface
Use this type to create a new user using the principal name as a reference to an existing user from an external AD or AAD backed provider. This is the subset of GraphUser fields required for creation of a GraphUser for the AD and AAD use case when looking up the user by its principal name in the backing provider.
- Extends
Properties
principal |
This should be the principal name or upn of the user in the source AD or AAD provider. Example: jamal@contoso.com Team Services will communicate with the source provider to fill all other fields on creation. |
Inherited Properties
storage |
Optional: If provided, we will use this identifier for the storage key of the created user |
Property Details
principalName
This should be the principal name or upn of the user in the source AD or AAD provider. Example: jamal@contoso.com Team Services will communicate with the source provider to fill all other fields on creation.
principalName: string
Property Value
string
Inherited Property Details
storageKey
Optional: If provided, we will use this identifier for the storage key of the created user
storageKey: string
Property Value
string
Inherited From GraphUserCreationContext.storageKey