gs=AdminTask.isGlobalSecurityEnabled()
if gs == true:
print "=" *30
print "Global Security is Enabled"
print "=" *30
else:
print "=" *30
print "Global Security is disabled and enabling it"
AdminTask.setGlobalSecurity ('[-enabled true]')
print "=" *30
if gs == true:
print "=" *30
print "Global Security is Enabled"
print "=" *30
else:
print "=" *30
print "Global Security is disabled and enabling it"
AdminTask.setGlobalSecurity ('[-enabled true]')
print "=" *30
No comments:
Post a Comment
Your suggestions please