RoleAssignmentImpl.IWithAssignee.ForUser Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
IWithAssignee.ForUser(String) |
Specifies the assignee of the role assignment to be a user. |
IWithAssignee.ForUser(IActiveDirectoryUser) |
Specifies the assignee of the role assignment to be a user. |
IWithAssignee.ForUser(String)
Specifies the assignee of the role assignment to be a user.
Microsoft.Azure.Management.Graph.RBAC.Fluent.RoleAssignment.Definition.IWithRole IWithAssignee.ForUser (string name);
abstract member Microsoft.Azure.Management.Graph.RBAC.Fluent.RoleAssignment.Definition.IWithAssignee.ForUser : string -> Microsoft.Azure.Management.Graph.RBAC.Fluent.RoleAssignment.Definition.IWithRole
override this.Microsoft.Azure.Management.Graph.RBAC.Fluent.RoleAssignment.Definition.IWithAssignee.ForUser : string -> Microsoft.Azure.Management.Graph.RBAC.Fluent.RoleAssignment.Definition.IWithRole
Function ForUser (name As String) As IWithRole Implements IWithAssignee.ForUser
Parameters
- name
- String
The user's user principal name, full display name, or email address.
Returns
Implements
Applies to
IWithAssignee.ForUser(IActiveDirectoryUser)
Specifies the assignee of the role assignment to be a user.
Microsoft.Azure.Management.Graph.RBAC.Fluent.RoleAssignment.Definition.IWithRole IWithAssignee.ForUser (Microsoft.Azure.Management.Graph.RBAC.Fluent.IActiveDirectoryUser user);
abstract member Microsoft.Azure.Management.Graph.RBAC.Fluent.RoleAssignment.Definition.IWithAssignee.ForUser : Microsoft.Azure.Management.Graph.RBAC.Fluent.IActiveDirectoryUser -> Microsoft.Azure.Management.Graph.RBAC.Fluent.RoleAssignment.Definition.IWithRole
override this.Microsoft.Azure.Management.Graph.RBAC.Fluent.RoleAssignment.Definition.IWithAssignee.ForUser : Microsoft.Azure.Management.Graph.RBAC.Fluent.IActiveDirectoryUser -> Microsoft.Azure.Management.Graph.RBAC.Fluent.RoleAssignment.Definition.IWithRole
Function ForUser (user As IActiveDirectoryUser) As IWithRole Implements IWithAssignee.ForUser
Parameters
- user
- IActiveDirectoryUser
The user object.
Returns
Implements
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET