| Modifier and Type | Method and Description |
|---|---|
RoleAssignment.DefinitionStages.WithRole |
RoleAssignment.DefinitionStages.WithAssignee.forServicePrincipal(ServicePrincipal servicePrincipal)
Specifies the assignee of the role assignment to be a service principal.
|
ActiveDirectoryGroup.DefinitionStages.WithCreate |
ActiveDirectoryGroup.DefinitionStages.WithMember.withMember(ServicePrincipal servicePrincipal)
Adds a service principal as a member in the group.
|
ActiveDirectoryGroup.Update |
ActiveDirectoryGroup.UpdateStages.WithMember.withMember(ServicePrincipal servicePrincipal)
Adds a service principal as a member in the group.
|
ActiveDirectoryGroup.Update |
ActiveDirectoryGroup.UpdateStages.WithMember.withoutMember(ServicePrincipal servicePrincipal)
Removes a service principal as a member in the group.
|
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/