C2020-050 Updated the list of Volian computer names for PROMS to recognize when generating a temporary Admin User key.
This commit is contained in:
parent
7100163f8e
commit
ba2e72baeb
@ -2247,13 +2247,14 @@ namespace VEPROMS
|
|||||||
- Kathy- Volian0
|
- Kathy- Volian0
|
||||||
- Jim- JCB2-HP
|
- Jim- JCB2-HP
|
||||||
- Rich- WINDOWS7-RHM
|
- Rich- WINDOWS7-RHM
|
||||||
|
- Rich - RICH-WINDOWS10
|
||||||
- Paul- Paul-PC
|
- Paul- Paul-PC
|
||||||
- Michelle- Michelle-PC
|
- Michelle- Michelle-PC
|
||||||
- Harrys Mac- WIN-04QLPEH7JKH
|
- Harrys Mac- WIN-04QLPEH7JKH
|
||||||
- Harrys PC- Harry-7100
|
- Harrys PC- Harry-7100
|
||||||
- Caitlin- Caitlin-PC
|
- Caitlin- Caitlin-PC
|
||||||
*/
|
*/
|
||||||
if ("|VLN|VOLIAN0|JCB2-HP|BODINE-64|WINDOWS7-RHM|PAUL-PC|MICHELLE-PC|WIN-O4QLPEH7JKH|HARRY-7100|CAITLIN-PC|".Contains("|" + Environment.UserDomainName.ToUpper() + "|"))
|
if ("|VLN|RICH-WINDOWS10|WINDOWS7-RHM|PAUL-PC|MICHELLE-PC|WIN-O4QLPEH7JKH|HARRY-7100|CAITLIN-PC|".Contains("|" + Environment.UserDomainName.ToUpper() /*Environment.GetEnvironmentVariable("USERDOMAIN").ToUpper()*/ + "|"))
|
||||||
{
|
{
|
||||||
Random rnd = new Random(DateTime.Now.Year + DateTime.Now.DayOfYear * 1000);
|
Random rnd = new Random(DateTime.Now.Year + DateTime.Now.DayOfYear * 1000);
|
||||||
MessageBox.Show(this, GetSecurityKey(), "Today's Security Key");
|
MessageBox.Show(this, GetSecurityKey(), "Today's Security Key");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user