Python win32security.RevertToSelf() Examples

The following are 5 code examples of win32security.RevertToSelf(). You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may also want to check out all available functions/classes of the module win32security , or try the search function .
Example #1
Source File: authorizers.py    From oss-ftp with MIT License 5 votes vote down vote up
def terminate_impersonation(self, username):
            """Terminate the impersonation of another user."""
            win32security.RevertToSelf() 
Example #2
Source File: authorizers.py    From oss-ftp with MIT License 5 votes vote down vote up
def terminate_impersonation(self, username):
            """Terminate the impersonation of another user."""
            win32security.RevertToSelf() 
Example #3
Source File: _windows.py    From django-ftpserver with MIT License 5 votes vote down vote up
def terminate_impersonation(self, username):
            """undo user from impersonation
            """
            win32security.RevertToSelf() 
Example #4
Source File: authorizers.py    From script-languages with MIT License 5 votes vote down vote up
def terminate_impersonation(self, username):
            """Terminate the impersonation of another user."""
            win32security.RevertToSelf() 
Example #5
Source File: authorizers.py    From pyftpdlib with MIT License 5 votes vote down vote up
def terminate_impersonation(self, username):
            """Terminate the impersonation of another user."""
            win32security.RevertToSelf()