.NET Roles

 

Applies To: Windows Server 2012 R2, Windows Server 2012

Use the .NET Roles feature page to manage a list of user groups. User groups offer the ability to categorize a set of users and perform security-related operations, such as authorization, on a defined set of users.

Sort the list by clicking one of the feature page column headings or select a value from the Group by drop-down list to group similar items.

Related scenarios

In this document

UI Elements for .NET Roles

The following tables describe the UI elements that are available on the feature page and in the Actions pane.

Feature Page Elements

Element Name

Description

Name

Lists the name of the role.

Users

Shows the number of users assigned to a role.

Actions Pane Elements

Element Name

Description

Add

Opens the Add .NET Role dialog box from which you can add role names to this provider.

View Users

Opens the .NET Users feature page, filtered by the selected role.

Rename

Enables you to edit the selected role.

Remove

Removes the item that is selected from the list on the feature page.

Disable

Disables the .NET Roles feature page.

Set Default Provider

Opens the Edit .NET Roles Settings dialog box, so you can set the default provider.

Providers

Opens the Providers feature page.

Add .NET Role Dialog Box

Use the Add .NET Role dialog box to add role names to the database referenced by this provider. Roles enable you to categorize users and then perform a security related task, such as authorization, more efficiently.

Element Name

Description

Name

Requests the name of the role.

Edit .NET Roles Settings Dialog Box

Use the Edit .NET Roles Settings dialog box to set the default provider for membership roles.

Element Name

Description

Default Provider

Sets the default provider for .NET Roles. IIS 8 includes the following providers:

  • AspNetSqlRoleProvider - Stores role information in a SQL Server database.

  • AspNetWindowsTokenRoleProvider - Uses role information based on Windows domain accounts. The Windows provider is useful only if your application runs on a network where all users have domain accounts.