FreeRDP
sspicli.h File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <winpr/winpr.h>
#include <winpr/wtypes.h>
This graph shows which files directly or indirectly include this file:

Data Structures

struct  QUOTA_LIMITS
 

Macros

#define LOGON32_LOGON_INTERACTIVE   2
 
#define LOGON32_LOGON_NETWORK   3
 
#define LOGON32_LOGON_BATCH   4
 
#define LOGON32_LOGON_SERVICE   5
 
#define LOGON32_LOGON_UNLOCK   7
 
#define LOGON32_LOGON_NETWORK_CLEARTEXT   8
 
#define LOGON32_LOGON_NEW_CREDENTIALS   9
 
#define LOGON32_PROVIDER_DEFAULT   0
 
#define LOGON32_PROVIDER_WINNT35   1
 
#define LOGON32_PROVIDER_WINNT40   2
 
#define LOGON32_PROVIDER_WINNT50   3
 
#define LOGON32_PROVIDER_VIRTUAL   4
 
#define LogonUser   LogonUserA
 
#define LogonUserEx   LogonUserExA
 
#define GetUserNameEx   GetUserNameExA
 

Typedefs

typedef struct QUOTA_LIMITSPQUOTA_LIMITS
 
typedef enum EXTENDED_NAME_FORMATPEXTENDED_NAME_FORMAT
 

Enumerations

enum  EXTENDED_NAME_FORMAT {
  NameUnknown = 0 , NameFullyQualifiedDN = 1 , NameSamCompatible = 2 , NameDisplay = 3 ,
  NameUniqueId = 6 , NameCanonical = 7 , NameUserPrincipal = 8 , NameCanonicalEx = 9 ,
  NameServicePrincipal = 10 , NameDnsDomain = 12
}
 

Functions

WINPR_API BOOL LogonUserA (LPCSTR lpszUsername, LPCSTR lpszDomain, LPCSTR lpszPassword, DWORD dwLogonType, DWORD dwLogonProvider, PHANDLE phToken)
 
WINPR_API BOOL LogonUserW (LPCWSTR lpszUsername, LPCWSTR lpszDomain, LPCWSTR lpszPassword, DWORD dwLogonType, DWORD dwLogonProvider, PHANDLE phToken)
 
WINPR_API BOOL LogonUserExA (LPCSTR lpszUsername, LPCSTR lpszDomain, LPCSTR lpszPassword, DWORD dwLogonType, DWORD dwLogonProvider, PHANDLE phToken, PSID *ppLogonSid, PVOID *ppProfileBuffer, LPDWORD pdwProfileLength, PQUOTA_LIMITS pQuotaLimits)
 
WINPR_API BOOL LogonUserExW (LPCWSTR lpszUsername, LPCWSTR lpszDomain, LPCWSTR lpszPassword, DWORD dwLogonType, DWORD dwLogonProvider, PHANDLE phToken, PSID *ppLogonSid, PVOID *ppProfileBuffer, LPDWORD pdwProfileLength, PQUOTA_LIMITS pQuotaLimits)
 
WINPR_API BOOL GetUserNameExA (EXTENDED_NAME_FORMAT NameFormat, LPSTR lpNameBuffer, PULONG nSize)
 
WINPR_API BOOL GetUserNameExW (EXTENDED_NAME_FORMAT NameFormat, LPWSTR lpNameBuffer, PULONG nSize)
 

Macro Definition Documentation

◆ GetUserNameEx

#define GetUserNameEx   GetUserNameExA

◆ LOGON32_LOGON_BATCH

#define LOGON32_LOGON_BATCH   4

◆ LOGON32_LOGON_INTERACTIVE

#define LOGON32_LOGON_INTERACTIVE   2

WinPR: Windows Portable Runtime Security Support Provider Interface

Copyright 2012 Marc-Andre Moreau marca.nosp@m.ndre.nosp@m..more.nosp@m.au@g.nosp@m.mail..nosp@m.com

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

◆ LOGON32_LOGON_NETWORK

#define LOGON32_LOGON_NETWORK   3

◆ LOGON32_LOGON_NETWORK_CLEARTEXT

#define LOGON32_LOGON_NETWORK_CLEARTEXT   8

◆ LOGON32_LOGON_NEW_CREDENTIALS

#define LOGON32_LOGON_NEW_CREDENTIALS   9

◆ LOGON32_LOGON_SERVICE

#define LOGON32_LOGON_SERVICE   5

◆ LOGON32_LOGON_UNLOCK

#define LOGON32_LOGON_UNLOCK   7

◆ LOGON32_PROVIDER_DEFAULT

#define LOGON32_PROVIDER_DEFAULT   0

◆ LOGON32_PROVIDER_VIRTUAL

#define LOGON32_PROVIDER_VIRTUAL   4

◆ LOGON32_PROVIDER_WINNT35

#define LOGON32_PROVIDER_WINNT35   1

◆ LOGON32_PROVIDER_WINNT40

#define LOGON32_PROVIDER_WINNT40   2

◆ LOGON32_PROVIDER_WINNT50

#define LOGON32_PROVIDER_WINNT50   3

◆ LogonUser

#define LogonUser   LogonUserA

◆ LogonUserEx

#define LogonUserEx   LogonUserExA

Typedef Documentation

◆ PEXTENDED_NAME_FORMAT

◆ PQUOTA_LIMITS

typedef struct QUOTA_LIMITS * PQUOTA_LIMITS

Enumeration Type Documentation

◆ EXTENDED_NAME_FORMAT

Enumerator
NameUnknown 
NameFullyQualifiedDN 
NameSamCompatible 
NameDisplay 
NameUniqueId 
NameCanonical 
NameUserPrincipal 
NameCanonicalEx 
NameServicePrincipal 
NameDnsDomain 

Function Documentation

◆ GetUserNameExA()

WINPR_API BOOL GetUserNameExA ( EXTENDED_NAME_FORMAT  NameFormat,
LPSTR  lpNameBuffer,
PULONG  nSize 
)
Here is the caller graph for this function:

◆ GetUserNameExW()

WINPR_API BOOL GetUserNameExW ( EXTENDED_NAME_FORMAT  NameFormat,
LPWSTR  lpNameBuffer,
PULONG  nSize 
)
Here is the call graph for this function:

◆ LogonUserA()

WINPR_API BOOL LogonUserA ( LPCSTR  lpszUsername,
LPCSTR  lpszDomain,
LPCSTR  lpszPassword,
DWORD  dwLogonType,
DWORD  dwLogonProvider,
PHANDLE  phToken 
)
Here is the call graph for this function:

◆ LogonUserExA()

WINPR_API BOOL LogonUserExA ( LPCSTR  lpszUsername,
LPCSTR  lpszDomain,
LPCSTR  lpszPassword,
DWORD  dwLogonType,
DWORD  dwLogonProvider,
PHANDLE  phToken,
PSID *  ppLogonSid,
PVOID *  ppProfileBuffer,
LPDWORD  pdwProfileLength,
PQUOTA_LIMITS  pQuotaLimits 
)

◆ LogonUserExW()

WINPR_API BOOL LogonUserExW ( LPCWSTR  lpszUsername,
LPCWSTR  lpszDomain,
LPCWSTR  lpszPassword,
DWORD  dwLogonType,
DWORD  dwLogonProvider,
PHANDLE  phToken,
PSID *  ppLogonSid,
PVOID *  ppProfileBuffer,
LPDWORD  pdwProfileLength,
PQUOTA_LIMITS  pQuotaLimits 
)

◆ LogonUserW()

WINPR_API BOOL LogonUserW ( LPCWSTR  lpszUsername,
LPCWSTR  lpszDomain,
LPCWSTR  lpszPassword,
DWORD  dwLogonType,
DWORD  dwLogonProvider,
PHANDLE  phToken 
)