the below function if security is enabled will return True else False.
def isGlobalSecurityEnabled():
securityon = AdminTask.isGlobalSecurityEnabled()
return securityon
Another Usage:
security=AdminTask.isGlobalSecurityEnabled()
if security == 'true':
print "Global security Enabled"
else:
print "Global Security not Enabled"
No comments:
Post a Comment
Your suggestions please