SendRequestEmail method of the MSFT_FSRMAdr class

Sends an email to request additional access to a file.

Syntax

uint64 SendRequestEmail(
  [in] string Path,
  [in] string ServerPath,
  [in] uint32 Event,
  [in] string UserMessage
);

Parameters

Path [in]

A valid path on the server not longer than the MAX_PATH value (260).

ServerPath [in]

A valid path on the server not longer than the MAX_PATH value (260).

Event [in]

Describes the type of failure handled by ADR.

AccessDenied (1)

The failure was an access denied error.

FileNotFound (2)

The failure was an file not found error.

UserMessage [in]

A string to include in the request email, not to exceed 1KB.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2012
Namespace
Root\Microsoft\Windows\FSRM
MOF
MSFT_FSRM.mof
DLL
SrmSvc.dll

See also

MSFT_FSRMAdr