var perm: TPermission; perm := TPermission.Create; if perm.ICanModify(student, weight) then begin // code here to modify something end else ShowError("你未被授权以修改xxx的权重!"); perm.Free;
2,496
社区成员
88,445
社区内容
加载中
试试用AI创作助手写篇文章吧