Gets the identity roles for a WindowsIdentity.

Namespace:  EPiServer.Security
Assembly:  EPiServer (in EPiServer.dll) Version: 5.2.375.236

Syntax

C#
public ICollection<string> WindowsIdentityRoles(
	WindowsIdentity wi
)

Parameters

wi
Type: System.Security.Principal..::.WindowsIdentity
The WindowsIdentity object.

Return Value

A collection of role names.

Remarks

In most cases you should use the RoleList method.

See Also