Click or drag to resize
SecurityManagementCheckRole Method
检测用户是否拥有权限

Namespace: X3Platform.Security
Assembly: X3Platform.Abstractions (in X3Platform.Abstractions.dll) Version: 1.0.0.0 (2.0.0.0)
Syntax
public static bool CheckRole(
	IAccountInfo account,
	IRoleInfo[] roles
)

Parameters

account
Type: X3Platform.MembershipIAccountInfo

[Missing <param name="account"/> documentation for "M:X3Platform.Security.SecurityManagement.CheckRole(X3Platform.Membership.IAccountInfo,X3Platform.Membership.IRoleInfo[])"]

roles
Type: X3Platform.MembershipIRoleInfo

[Missing <param name="roles"/> documentation for "M:X3Platform.Security.SecurityManagement.CheckRole(X3Platform.Membership.IAccountInfo,X3Platform.Membership.IRoleInfo[])"]

Return Value

Type: Boolean

[Missing <returns> documentation for "M:X3Platform.Security.SecurityManagement.CheckRole(X3Platform.Membership.IAccountInfo,X3Platform.Membership.IRoleInfo[])"]

See Also