Этот баннер — требование Роскомнадзора для исполнения 152 ФЗ.
«На сайте осуществляется обработка файлов cookie, необходимых для работы сайта, а также для анализа использования сайта и улучшения предоставляемых сервисов с использованием метрической программы Яндекс.Метрика. Продолжая использовать сайт, вы даёте согласие с использованием данных технологий».
Политика конфиденциальности
|
|
|
Как определить логин пользователя вошедшего в Windows?
|
|||
|---|---|---|---|
|
#18+
Скажите пожалуйста, Какая процедура Delphi определяет логин пользователя вошедшего в Windows? Спасибо. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 01.10.2004, 15:08 |
|
||
|
Как определить логин пользователя вошедшего в Windows?
|
|||
|---|---|---|---|
|
#18+
Delphi - никакая. Это чистое API группа функций Net ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 01.10.2004, 15:26 |
|
||
|
Как определить логин пользователя вошедшего в Windows?
|
|||
|---|---|---|---|
|
#18+
Sergey SergeevСкажите пожалуйста, Какая процедура Delphi определяет логин пользователя вошедшего в Windows? Спасибо. Отвечаю сам себе: The GetUserName function retrieves the user name of the current thread. This is the name of the user currently logged onto the system. BOOL GetUserName( LPTSTR lpBuffer, // address of name buffer LPDWORD nSize // address of size of name buffer ); Parameters lpBuffer Points to the buffer to receive the null-terminated string containing the user's logon name. If this buffer is not large enough to contain the entire user name, the function fails. nSize Pointer to a DWORD that, on input, specifies the maximum size, in characters, of the buffer specified by the lpBuffer parameter. If this buffer is not large enough to contain the entire user name, the function fails. If the function succeeds, it will place the number of characters copied to the buffer into the DWORD that nSize points to. Return Values If the function succeeds, the return value is nonzero, and the variable pointed to by nSize contains the number of characters copied to the buffer specified by lpBuffer, including the terminating null character. If the function fails, the return value is zero. To get extended error information, call GetLastError. Remarks If the current thread is impersonating another client, the GetUserName function returns the user name of the client that the thread is impersonating. See Also LookupAccountName ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 01.10.2004, 15:31 |
|
||
|
|

start [/forum/topic.php?fid=26&msg=32720235&tid=1514885]: |
0ms |
get settings: |
8ms |
get forum list: |
14ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
29ms |
get topic data: |
9ms |
get forum data: |
2ms |
get page messages: |
44ms |
get tp. blocked users: |
1ms |
| others: | 260ms |
| total: | 373ms |

| 0 / 0 |
