Interface ActiveDirectoryUser.DefinitionStages.WithUserPrincipalName
- All Known Subinterfaces:
ActiveDirectoryUser.Definition,ActiveDirectoryUser.DefinitionStages.Blank
- Enclosing interface:
- ActiveDirectoryUser.DefinitionStages
public static interface ActiveDirectoryUser.DefinitionStages.WithUserPrincipalName
A user definition allowing user principal name to be specified.
-
Method Summary
Modifier and TypeMethodDescriptionwithEmailAlias(String emailAlias) Specifies the email alias of the new user.withUserPrincipalName(String userPrincipalName) Specifies the user principal name of the user.
-
Method Details
-
withUserPrincipalName
Specifies the user principal name of the user. It must contain one of the verified domains for the tenant.- Parameters:
userPrincipalName- the user principal name- Returns:
- the next stage of user definition
-
withEmailAlias
Specifies the email alias of the new user.- Parameters:
emailAlias- the email alias of the new user- Returns:
- the next stage of user definition
-