You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
792 B
27 lines
792 B
|
|
#ifndef __METAEXP_AUTH__
|
|
#define __METAEXP_AUTH__
|
|
|
|
#include <iadmw.h> // COM Interface header file.
|
|
|
|
|
|
|
|
|
|
// Validates that the user had privleges to open a metabase handle
|
|
BOOL AUTHUSER( COSERVERINFO * pCoServerInfo );
|
|
|
|
// Validate that the node is of a given KeyType
|
|
BOOL ValidateNode(COSERVERINFO * pCoServerInfo, WCHAR *pwszMBPath, WCHAR* KeyType );
|
|
BOOL ValidateNode(COSERVERINFO * pCoServerInfo, WCHAR *pwszMBPath, DWORD KeyType );
|
|
|
|
// Create CoServerInfoStruct
|
|
COSERVERINFO * CreateServerInfoStruct(WCHAR* pwszServer, WCHAR* pwszUser, WCHAR* pwszDomain,
|
|
WCHAR* pwszPassword, DWORD dwAuthnLevel, BOOL bUsesImpersonation = true);
|
|
VOID FreeServerInfoStruct(COSERVERINFO * pServerInfo);
|
|
|
|
BOOL UsesImpersonation(COSERVERINFO * pServerInfo);
|
|
|
|
|
|
|
|
|
|
#endif
|