Class GraphUserPrincipalNameCreationContext

java.lang.Object
org.azd.graph.types.GraphUserCreationContext
org.azd.graph.types.GraphUserPrincipalNameCreationContext

public class GraphUserPrincipalNameCreationContext extends GraphUserCreationContext
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.
  • Field Details

    • principalName

      public String principalName
      This should be the principal name or upn of the user in the source AD or AAD provider. Example: test@contoso.com Team Services will communicate with the source provider to fill all other fields on creation.
  • Constructor Details

    • GraphUserPrincipalNameCreationContext

      public GraphUserPrincipalNameCreationContext()