AuthenticationPrincipalIsInRole Method |
验证是否是角色
Namespace: X3Platform.Security.AuthenticationAssembly: X3Platform.Abstractions (in X3Platform.Abstractions.dll) Version: 1.0.0.0 (2.0.0.0)
Syntaxpublic bool IsInRole(
string role
)
public:
virtual bool IsInRole(
String^ role
) sealed
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