Vernon Cole wrote:
Tim,
You Da Man!
Vernon
based on your suggestion, I have:
code
import win32security
def testMemberOf(GROUP_NAME):
try:
sid, system, type = win32security.LookupAccountName(None,
GROUP_NAME)
except:
raise ValueError, '%s is not a valid group
Tim,
You Da Man!
Vernon
based on your suggestion, I have:
code
import win32security
def testMemberOf(GROUP_NAME):
try:
sid, system, type = win32security.LookupAccountName(None,
GROUP_NAME)
except:
raise ValueError, '%s is not a valid group name'%GROUP_NAME
return
Dear group:
My company makes use of Active Directory to determine what rights a given
user has in an application system. If the user is a member of a certain
group, then (s)he has the right to perform some set of functions. For
example, if VCOLE is a member of WCPO-CREATE then I can create new