add GetUserGroupRef
This commit is contained in:
parent
1c4d1efa83
commit
6c5d0d8940
@ -40,7 +40,7 @@ namespace ASC.Core
|
|||||||
[Scope(typeof(ConfigureEFUserService), typeof(ConfigureCachedUserService))]
|
[Scope(typeof(ConfigureEFUserService), typeof(ConfigureCachedUserService))]
|
||||||
public interface IUserService
|
public interface IUserService
|
||||||
{
|
{
|
||||||
IDictionary<Guid, UserInfo> GetUsers(int tenant, DateTime from);
|
IEnumerable<UserInfo> GetUsers(int tenant, DateTime from);
|
||||||
|
|
||||||
IQueryable<UserInfo> GetUsers(int tenant, bool isAdmin,
|
IQueryable<UserInfo> GetUsers(int tenant, bool isAdmin,
|
||||||
EmployeeStatus? employeeStatus,
|
EmployeeStatus? employeeStatus,
|
||||||
@ -78,7 +78,7 @@ namespace ASC.Core
|
|||||||
void SetUserPasswordHash(int tenant, Guid id, string passwordHash);
|
void SetUserPasswordHash(int tenant, Guid id, string passwordHash);
|
||||||
|
|
||||||
|
|
||||||
IDictionary<Guid, Group> GetGroups(int tenant, DateTime from);
|
IEnumerable<Group> GetGroups(int tenant, DateTime from);
|
||||||
|
|
||||||
Group GetGroup(int tenant, Guid id);
|
Group GetGroup(int tenant, Guid id);
|
||||||
|
|
||||||
@ -86,7 +86,7 @@ namespace ASC.Core
|
|||||||
|
|
||||||
void RemoveGroup(int tenant, Guid id);
|
void RemoveGroup(int tenant, Guid id);
|
||||||
|
|
||||||
|
UserGroupRef GetUserGroupRef(int tenant, Guid groupId, UserGroupRefType refType);
|
||||||
IDictionary<string, UserGroupRef> GetUserGroupRefs(int tenant, DateTime from);
|
IDictionary<string, UserGroupRef> GetUserGroupRefs(int tenant, DateTime from);
|
||||||
|
|
||||||
UserGroupRef SaveUserGroupRef(int tenant, UserGroupRef r);
|
UserGroupRef SaveUserGroupRef(int tenant, UserGroupRef r);
|
||||||
|
Loading…
Reference in New Issue
Block a user