Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

AuthorizeView.Policy Property

Definition

Namespace:
Microsoft.AspNetCore.Components.Authorization
Assembly:
Microsoft.AspNetCore.Components.Authorization.dll
Package:
Microsoft.AspNetCore.Components.Authorization v10.0.0
Package:
Microsoft.AspNetCore.Components.Authorization v11.0.0-preview.4.26230.115
Package:
Microsoft.AspNetCore.Components.Authorization v3.0.3
Package:
Microsoft.AspNetCore.Components.Authorization v3.1.18
Package:
Microsoft.AspNetCore.Components.Authorization v5.0.9
Package:
Microsoft.AspNetCore.Components.Authorization v6.0.6
Package:
Microsoft.AspNetCore.Components.Authorization v7.0.5
Package:
Microsoft.AspNetCore.Components.Authorization v8.0.19
Package:
Microsoft.AspNetCore.Components.Authorization v9.0.8
Source:
AuthorizeView.cs
Source:
AuthorizeView.cs
Source:
AuthorizeView.cs
Source:
AuthorizeView.cs
Source:
AuthorizeView.cs
Source:
AuthorizeView.cs
Source:
AuthorizeView.cs
Source:
AuthorizeView.cs
Source:
AuthorizeView.cs

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.

The policy name that determines whether the content can be displayed.

public:
 property System::String ^ Policy { System::String ^ get(); void set(System::String ^ value); };
[Microsoft.AspNetCore.Components.Parameter]
public string? Policy { get; set; }
[Microsoft.AspNetCore.Components.Parameter]
public string Policy { get; set; }
[<Microsoft.AspNetCore.Components.Parameter>]
member this.Policy : string with get, set
Public Property Policy As String

Property Value

Attributes

Applies to


Feedback

Was this page helpful?