Share via


IWithMemberBeta.WithMember Method

Definition

Overloads

WithMember(IActiveDirectoryGroup)

Adds a group as a member in the group.

WithMember(IActiveDirectoryUser)

Adds a user as a member in the group.

WithMember(IServicePrincipal)

Adds a service principal as a member in the group.

WithMember(String)

Adds a member based on its object id. The member can be a user, a group, a service principal, or an application.

WithMember(IActiveDirectoryGroup)

Adds a group as a member in the group.

public Microsoft.Azure.Management.Graph.RBAC.Fluent.ActiveDirectoryGroup.Update.IUpdate WithMember (Microsoft.Azure.Management.Graph.RBAC.Fluent.IActiveDirectoryGroup group);
abstract member WithMember : Microsoft.Azure.Management.Graph.RBAC.Fluent.IActiveDirectoryGroup -> Microsoft.Azure.Management.Graph.RBAC.Fluent.ActiveDirectoryGroup.Update.IUpdate
Public Function WithMember (group As IActiveDirectoryGroup) As IUpdate

Parameters

group
IActiveDirectoryGroup

The Active Directory group to add.

Returns

Applies to

WithMember(IActiveDirectoryUser)

Adds a user as a member in the group.

public Microsoft.Azure.Management.Graph.RBAC.Fluent.ActiveDirectoryGroup.Update.IUpdate WithMember (Microsoft.Azure.Management.Graph.RBAC.Fluent.IActiveDirectoryUser user);
abstract member WithMember : Microsoft.Azure.Management.Graph.RBAC.Fluent.IActiveDirectoryUser -> Microsoft.Azure.Management.Graph.RBAC.Fluent.ActiveDirectoryGroup.Update.IUpdate
Public Function WithMember (user As IActiveDirectoryUser) As IUpdate

Parameters

user
IActiveDirectoryUser

The Active Directory user to add.

Returns

Applies to

WithMember(IServicePrincipal)

Adds a service principal as a member in the group.

public Microsoft.Azure.Management.Graph.RBAC.Fluent.ActiveDirectoryGroup.Update.IUpdate WithMember (Microsoft.Azure.Management.Graph.RBAC.Fluent.IServicePrincipal servicePrincipal);
abstract member WithMember : Microsoft.Azure.Management.Graph.RBAC.Fluent.IServicePrincipal -> Microsoft.Azure.Management.Graph.RBAC.Fluent.ActiveDirectoryGroup.Update.IUpdate
Public Function WithMember (servicePrincipal As IServicePrincipal) As IUpdate

Parameters

servicePrincipal
IServicePrincipal

The service principal to add.

Returns

Applies to

WithMember(String)

Adds a member based on its object id. The member can be a user, a group, a service principal, or an application.

public Microsoft.Azure.Management.Graph.RBAC.Fluent.ActiveDirectoryGroup.Update.IUpdate WithMember (string objectId);
abstract member WithMember : string -> Microsoft.Azure.Management.Graph.RBAC.Fluent.ActiveDirectoryGroup.Update.IUpdate
Public Function WithMember (objectId As String) As IUpdate

Parameters

objectId
String

The Active Directory object's id.

Returns

Applies to