我有一个包含 Active Directory 调用输出的字节数组。我想解析它并提取我的帐户到期前的天数。现在我想知道:提取的最佳方法是什么22-4-2016 11:05:26(所以之后的值Password Expires)?
[]byte(`The request will be processed at a domain controller for domain local.nl.bol.com.
User name bla
Full Name bla bla
Comment
User's comment
Country code (null)
Account active Yes
Account expires Never
Password last set 13-3-2016 11:05:26
Password expires 22-4-2016 11:05:26
Password changeable 13-3-2016 11:05:26
Password required Yes
User may change password Yes
Workstations allowed All
Logon script bla.bat
User profile
Home directory
Last logon 31-3-2016 7:59:29
Logon hours allowed All
The command completed successfully.`)
繁花如伊
斯蒂芬大帝
慕神8447489
随时随地看视频慕课网APP
相关分类