Interface ActiveDirectoryGroup.DefinitionStages.WithMember
- All Known Subinterfaces:
ActiveDirectoryGroup.Definition,ActiveDirectoryGroup.DefinitionStages.WithCreate
- Enclosing interface:
- ActiveDirectoryGroup.DefinitionStages
public static interface ActiveDirectoryGroup.DefinitionStages.WithMember
An AD Group definition allowing members to be added.
-
Method Summary
Modifier and TypeMethodDescriptionwithMember(ActiveDirectoryGroup group) Adds a group as a member in the group.Adds a user as a member in the group.withMember(ServicePrincipal servicePrincipal) Adds a service principal as a member in the group.withMember(String objectId) Add a member based on its object id.
-
Method Details
-
withMember
Add a member based on its object id. The member can be a user, a group, a service principal, or an application.- Parameters:
objectId- the Active Directory object's id- Returns:
- the next AD Group definition stage
-
withMember
Adds a user as a member in the group.- Parameters:
user- the Active Directory user to add- Returns:
- the next AD group definition stage
-
withMember
Adds a group as a member in the group.- Parameters:
group- the Active Directory group to add- Returns:
- the next AD group definition stage
-
withMember
Adds a service principal as a member in the group.- Parameters:
servicePrincipal- the service principal to add- Returns:
- the next AD group definition stage
-