共用方式為


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)

Add 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.Definition.IWithCreate 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.Definition.IWithCreate
Public Function WithMember (group As IActiveDirectoryGroup) As IWithCreate

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.Definition.IWithCreate 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.Definition.IWithCreate
Public Function WithMember (user As IActiveDirectoryUser) As IWithCreate

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.Definition.IWithCreate 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.Definition.IWithCreate
Public Function WithMember (servicePrincipal As IServicePrincipal) As IWithCreate

Parameters

servicePrincipal
IServicePrincipal

The service principal to add.

Returns

Applies to

WithMember(String)

Add 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.Definition.IWithCreate WithMember (string objectId);
abstract member WithMember : string -> Microsoft.Azure.Management.Graph.RBAC.Fluent.ActiveDirectoryGroup.Definition.IWithCreate
Public Function WithMember (objectId As String) As IWithCreate

Parameters

objectId
String

The Active Directory object's id.

Returns

Applies to