Click or drag to resize
AuthenticationPrincipalIsInRole Method
验证是否是角色

Namespace: X3Platform.Security.Authentication
Assembly: X3Platform.Abstractions (in X3Platform.Abstractions.dll) Version: 1.0.0.0 (2.0.0.0)
Syntax
public bool IsInRole(
	string role
)

Parameters

role
Type: SystemString
角色名称

Return Value

Type: Boolean

[Missing <returns> documentation for "M:X3Platform.Security.Authentication.AuthenticationPrincipal.IsInRole(System.String)"]

Implements

IPrincipalIsInRole(String)
See Also