示例#1
0
 public static extern int DuplicateToken(SafeUserToken hToken,
                                         int impersonationLevel,
                                         ref SafeUserToken hNewToken);
示例#2
0
 public static extern int LogonUserA(String lpszUserName,
                                     String lpszDomain,
                                     String lpszPassword,
                                     int dwLogonType,
                                     int dwLogonProvider,
                                     ref SafeUserToken phToken);