IFsrmActionCommand::Account property

[This property is supported for compatibility but it's recommended to use the FSRM WMI Classes to manage FSRM. Please see the MSFT_FSRMAction, MSFT_FSRMFMJAction, and MSFT_FSRMFMJNotificationAction classes.]

Retrieves or sets the system account that is used to run the executable program specified in the ExecutablePath property.

This property is read/write.

Syntax


HRESULT put_Account(
  [in]   FsrmAccountType account
);

HRESULT get_Account(
  [out]  FsrmAccountType *account
);

Property value

The system account used to run the executable program. The default is FsrmAccountType_NetworkService. For possible values, see the FsrmAccountType enumeration.

Error codes

The method returns the following return values.

NameMeaning
S_OK

Success.

E_INVALIDARG

The account parameter is NULL or is not a valid account type.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2008

Header

Fsrm.h (include FsrmQuota.h or FsrmScreen.h)

DLL

SrmSvc.dll

IID

IID_IFsrmActionCommand is defined as 12937789-e247-4917-9c20-f3ee9c7ee783

See also

IFsrmActionCommand
MSFT_FSRMAction
MSFT_FSRMFMJAction
MSFT_FSRMFMJNotificationAction

 

 

Show:
© 2014 Microsoft