def getsid(name):
 return info(name)['sid']

def getsid ( name ) : return info ( name ) [ 'sid' ]
return the sid for this windows service args: name : the name of the service for which to return the sid returns: str: a string representing the sid for the service cli example: .