FDO API Reference Feature Data Objects
Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

FdoIChangeLongTransactionPrivileges Class Reference

#include <IChangeLongTransactionPrivileges.h>

Inherits FdoICommand.

Inheritance diagram for FdoIChangeLongTransactionPrivileges:

[legend]
List of all members.

Detailed Description

The FdoIChangeLongTransactionPrivileges interface defines the ChangeLongTransactionPrivileges command, which grants or revokes long transaction privileges for the named user. The ability to change the privileges might be restricted by the datastore security if the long transaction doesn’t belong to the user executing the command.

Definition at line 37 of file IChangeLongTransactionPrivileges.h.


Public Member Functions

virtual FDO_API void Execute ()=0
 Executes the ChangeLongTransactionPrivilege command.
virtual FDO_API FdoStringGetLongTransactionName ()=0
 Gets the name of the long transaction for which privileges should be changed.
virtual FDO_API FdoLongTransactionPrivilegeOperations GetOperation ()=0
 Gets the operation to perform, grant, or revoke.
virtual FDO_API FdoInt32 GetPrivileges ()=0
 Gets the privilege flags to grant or revoke.The returned value may be any combination of the values from the FdoLongTransactionPrivileges enumeration combined via a bit-wise or operation.
virtual FDO_API FdoStringGetUserName ()=0
 Gets the name of the user for which to grant or revoke privileges.
virtual FDO_API void SetLongTransactionName (FdoString *value)=0
 Sets the name of the long transaction for which privileges should be changed.
virtual FDO_API void SetOperation (FdoLongTransactionPrivilegeOperations value)=0
 Sets the operation to perform, grant, or revoke.
virtual FDO_API void SetPrivileges (FdoInt32 value)=0
 Sets the privilege flags to grant or revoke. The privileges value may be any combination of the values from the FdoLongTransactionPrivileges enumeration combined via a bit-wise or operation.
virtual FDO_API void SetUserName (FdoString *value)=0
 Sets the name of the user for which to grant or revoke privileges.

Friends

class FdoIConnection

Member Function Documentation

virtual FDO_API void FdoIChangeLongTransactionPrivileges::Execute  )  [pure virtual]
 

Executes the ChangeLongTransactionPrivilege command.

Returns:
Returns nothing

virtual FDO_API FdoString* FdoIChangeLongTransactionPrivileges::GetLongTransactionName  )  [pure virtual]
 

Gets the name of the long transaction for which privileges should be changed.

Returns:
Returns the name of the long transaction

virtual FDO_API FdoLongTransactionPrivilegeOperations FdoIChangeLongTransactionPrivileges::GetOperation  )  [pure virtual]
 

Gets the operation to perform, grant, or revoke.

Returns:
Returns the operation to perform

virtual FDO_API FdoInt32 FdoIChangeLongTransactionPrivileges::GetPrivileges  )  [pure virtual]
 

Gets the privilege flags to grant or revoke.The returned value may be any combination of the values from the FdoLongTransactionPrivileges enumeration combined via a bit-wise or operation.

Returns:
Returns the privileges as a bit masked value based on FdoLongTransactionPrivileges enumeration

virtual FDO_API FdoString* FdoIChangeLongTransactionPrivileges::GetUserName  )  [pure virtual]
 

Gets the name of the user for which to grant or revoke privileges.

Returns:
Returns the user name

virtual FDO_API void FdoIChangeLongTransactionPrivileges::SetLongTransactionName FdoString value  )  [pure virtual]
 

Sets the name of the long transaction for which privileges should be changed.

Parameters:
value Input the name of the long transaction
Returns:
Returns nothing

virtual FDO_API void FdoIChangeLongTransactionPrivileges::SetOperation FdoLongTransactionPrivilegeOperations  value  )  [pure virtual]
 

Sets the operation to perform, grant, or revoke.

Parameters:
value Input the operation to perform
Returns:
Returns nothing

virtual FDO_API void FdoIChangeLongTransactionPrivileges::SetPrivileges FdoInt32  value  )  [pure virtual]
 

Sets the privilege flags to grant or revoke. The privileges value may be any combination of the values from the FdoLongTransactionPrivileges enumeration combined via a bit-wise or operation.

Parameters:
value Input the privileges as a bit masked value based on FdoLongTransactionPrivileges enumeration
Returns:
Returns nothing

virtual FDO_API void FdoIChangeLongTransactionPrivileges::SetUserName FdoString value  )  [pure virtual]
 

Sets the name of the user for which to grant or revoke privileges.

Parameters:
value Input the user name
Returns:
Returns nothing

Friends And Related Function Documentation

friend class FdoIConnection [friend]
 

Reimplemented from FdoICommand.

Definition at line 39 of file IChangeLongTransactionPrivileges.h.


The documentation for this class was generated from the following file:
Comments or suggestions? Send us feedback.