AuthorityMethodAttribute Constructor (IRoleInfo, String) |
构造函数
Namespace: X3Platform.Security.AuthorityAssembly: X3Platform.Abstractions (in X3Platform.Abstractions.dll) Version: 1.0.0.0 (2.0.0.0)
Syntaxpublic AuthorityMethodAttribute(
IRoleInfo[] roles,
string authorityKeys
)
public:
AuthorityMethodAttribute(
array<IRoleInfo^>^ roles,
String^ authorityKeys
)
Parameters
- roles
- Type: X3Platform.MembershipIRoleInfo
角色数组 - authorityKeys
- Type: SystemString
权限值,多个以逗号分开
See Also