Undocumented functions of NTDLL

2OO1, 5 March


NtAccessCheck
NtAccessCheck

NTSYSAPI 
NTSTATUS
NTAPI

NtAccessCheck(
IN PSECURITY_DESCRIPTOR SecurityDescriptor, IN HANDLE ClientToken, IN ACCESS_MASK DesiredAccess, IN PGENERIC_MAPPING GenericMapping OPTIONAL, OUT PPRIVILEGE_SET RequiredPrivilegesBuffer, IN OUT PULONG BufferLength, OUT PACCESS_MASK GrantedAccess, OUT PNTSTATUS AccessStatus );



Function NtAccessCheck should be used by server applications working in SYSTEM context for check access to object for connected client's token. See similar Win32 API AccessCheck in Microsoft SDK.



Requirements:
Library: ntdll.lib


See also:
NtImpersonateClientOfPort
NtImpersonateThread
NtOpenProcessToken
NtOpenThreadToken
NtPrivilegeCheck
NtQueryObject
NtQuerySecurityObject