IWithIdentity<ParentT>.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
ForUser(IActiveDirectoryUser) |
Specifies the Active Directory user this access policy is for. |
ForUser(String) |
Specifies the Active Directory user this access policy is for. |
ForUser(IActiveDirectoryUser)
Specifies the Active Directory user this access policy is for.
public Microsoft.Azure.Management.KeyVault.Fluent.AccessPolicy.UpdateDefinition.IWithAttach<ParentT> ForUser (Microsoft.Azure.Management.Graph.RBAC.Fluent.IActiveDirectoryUser user);
abstract member ForUser : Microsoft.Azure.Management.Graph.RBAC.Fluent.IActiveDirectoryUser -> Microsoft.Azure.Management.KeyVault.Fluent.AccessPolicy.UpdateDefinition.IWithAttach<'ParentT>
Public Function ForUser (user As IActiveDirectoryUser) As IWithAttach(Of ParentT)
Parameters
- user
- IActiveDirectoryUser
The AD user object.
Returns
Applies to
ForUser(String)
Specifies the Active Directory user this access policy is for.
public Microsoft.Azure.Management.KeyVault.Fluent.AccessPolicy.UpdateDefinition.IWithAttach<ParentT> ForUser (string userPrincipalName);
abstract member ForUser : string -> Microsoft.Azure.Management.KeyVault.Fluent.AccessPolicy.UpdateDefinition.IWithAttach<'ParentT>
Public Function ForUser (userPrincipalName As String) As IWithAttach(Of ParentT)
Parameters
- userPrincipalName
- String
The user principal name of the AD user.
Returns
Applies to
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for