Interface ActiveDirectoryUser.DefinitionStages.WithUserPrincipalName
-
- All Known Subinterfaces:
ActiveDirectoryUser.Definition,ActiveDirectoryUser.DefinitionStages.Blank
- Enclosing interface:
- ActiveDirectoryUser.DefinitionStages
public static interface ActiveDirectoryUser.DefinitionStages.WithUserPrincipalNameA user definition allowing user principal name to be specified.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ActiveDirectoryUser.DefinitionStages.WithPasswordwithEmailAlias(String emailAlias)Specifies the email alias of the new user.ActiveDirectoryUser.DefinitionStages.WithPasswordwithUserPrincipalName(String userPrincipalName)Specifies the user principal name of the user.
-
-
-
Method Detail
-
withUserPrincipalName
ActiveDirectoryUser.DefinitionStages.WithPassword withUserPrincipalName(String userPrincipalName)
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
ActiveDirectoryUser.DefinitionStages.WithPassword withEmailAlias(String emailAlias)
Specifies the email alias of the new user.- Parameters:
emailAlias- the email alias of the new user- Returns:
- the next stage of user definition
-
-