mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-08-12 19:37:29 +00:00
perf: gather account windows
This commit is contained in:
parent
094e144a51
commit
4f2250b7a8
@ -39,8 +39,11 @@ class GatherAccountsFilter:
|
|||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def windows_filter(info):
|
def windows_filter(info):
|
||||||
# TODO
|
info = info[4:-2]
|
||||||
result = {}
|
result = {}
|
||||||
|
for i in info:
|
||||||
|
for username in i.split():
|
||||||
|
result[username] = {}
|
||||||
return result
|
return result
|
||||||
|
|
||||||
def run(self, method_id_meta_mapper, info):
|
def run(self, method_id_meta_mapper, info):
|
||||||
|
Loading…
Reference in New Issue
Block a user