Interface ActiveDirectoryGroup.DefinitionStages.WithMember
-
- All Known Subinterfaces:
ActiveDirectoryGroup.Definition,ActiveDirectoryGroup.DefinitionStages.WithCreate
- Enclosing interface:
- ActiveDirectoryGroup.DefinitionStages
public static interface ActiveDirectoryGroup.DefinitionStages.WithMemberAn AD Group definition allowing members to be added.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ActiveDirectoryGroup.DefinitionStages.WithCreatewithMember(ActiveDirectoryGroup group)Adds a group as a member in the group.ActiveDirectoryGroup.DefinitionStages.WithCreatewithMember(ActiveDirectoryUser user)Adds a user as a member in the group.ActiveDirectoryGroup.DefinitionStages.WithCreatewithMember(ServicePrincipal servicePrincipal)Adds a service principal as a member in the group.ActiveDirectoryGroup.DefinitionStages.WithCreatewithMember(String objectId)Add a member based on its object id.
-
-
-
Method Detail
-
withMember
ActiveDirectoryGroup.DefinitionStages.WithCreate withMember(String objectId)
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
ActiveDirectoryGroup.DefinitionStages.WithCreate withMember(ActiveDirectoryUser user)
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
ActiveDirectoryGroup.DefinitionStages.WithCreate withMember(ActiveDirectoryGroup group)
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
ActiveDirectoryGroup.DefinitionStages.WithCreate withMember(ServicePrincipal servicePrincipal)
Adds a service principal as a member in the group.- Parameters:
servicePrincipal- the service principal to add- Returns:
- the next AD group definition stage
-
-