QuickAdmin.Net Reference
C#
Show/Hide TOC
Dept
Service
Is
User
Belongs
To
Dept Method
检查指定用户是否属于指定部门或其子部门。
Definition
Namespace:
QuickAdmin.Service.Admin
Assembly:
QuickAdmin.Net (in QuickAdmin.Net.dll) Version: 2.0.10
C#
Copy
public
virtual
bool
IsUserBelongsToDept
(
long
deptId
,
params
long
[]
userIds
)
Parameters
deptId
long
部门 Id。
userIds
long
要检查的用户 Id 数组。
Return Value
bool
Implements
IDeptService
IsUserBelongsToDept(long,
long
)
Exceptions
ArgumentNullException
userIds
为
null
或空数组。
See Also
Reference
DeptService Class
QuickAdmin.Service.Admin Namespace
In This Article
Definition
Parameters
Return Value
Implements
Exceptions
See Also