def GetObjectInformation(self):
"""Identifies object whose security will be modified, and determines options available
to the end user"""
flags=SI_ADVANCED|SI_EDIT_ALL|SI_PAGE_TITLE|SI_RESET
hinstance=0 ## handle to module containing string resources
servername='' ## name of authenticating server if not local machine
## service name can contain remote machine name of the form \\Server\ServiceName
objectname=os.path.split(self.ServiceName)[1]
pagetitle='Service Permissions for '+self.ServiceName
objecttype=IID_NULL
return flags, hinstance, servername, objectname, pagetitle, objecttype
评论列表
文章目录