FDO .NET API Reference Feature Data Objects
Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

OSGeo::FDO::Commands::LongTransaction::ILongTransactionPrivilegeReaderImp Class Reference

Inherits OSGeo::FDO::Runtime::Disposable, and OSGeo::FDO::Commands::LongTransaction::OSGeo::FDO::Commands::LongTransaction::ILongTransactionPrivilegeReader.

Inheritance diagram for OSGeo::FDO::Commands::LongTransaction::ILongTransactionPrivilegeReaderImp:

[legend]
List of all members.

Detailed Description

The ILongTransactionPrivilegeReaderImp class is a concrete implementation of ILongTransactionPrivilegeReader. The ILongTransactionPrivilegeReader interface provides forward only, read-only functionality for enumerating long transaction privileges. A reference to an FdoILongTransactionPrivilegeReader is returned from the GetLongTransactionPrivileges command. The initial position of the ILongTransactionPrivilegeReader is prior to the first item. Thus, you must call ReadNext to begin accessing any data.


Public Member Functions

System::Void Close ()
 Closes the ILongTransactionPrivilegesReader object, freeing any resources it may be holding.
System::Int32 GetPrivileges ()
 Gets the privileges granted to the user currently being read. The returned value may be any combination of the values from the LongTransactionPrivileges enumeration combined via a bit-wise or operation.
System::String * GetUsername ()
 Gets the name of the user currently being read.
System::Boolean ReadNext ()
 Advances the reader to the next item. The default position of the reader is prior to the first item. Therefore you must call ReadNext to begin accessing any data.

Protected Member Functions

__sealed System::Void ReleaseUnmanagedObject ()
 DOXYGEN-IGNORE

Member Function Documentation

System::Void OSGeo::FDO::Commands::LongTransaction::ILongTransactionPrivilegeReaderImp::Close  ) 
 

Closes the ILongTransactionPrivilegesReader object, freeing any resources it may be holding.

Returns:
Returns nothing

System::Int32 OSGeo::FDO::Commands::LongTransaction::ILongTransactionPrivilegeReaderImp::GetPrivileges  ) 
 

Gets the privileges granted to the user currently being read. The returned value may be any combination of the values from the LongTransactionPrivileges enumeration combined via a bit-wise or operation.

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

System::String* OSGeo::FDO::Commands::LongTransaction::ILongTransactionPrivilegeReaderImp::GetUsername  ) 
 

Gets the name of the user currently being read.

Returns:
Returns the user name

System::Boolean OSGeo::FDO::Commands::LongTransaction::ILongTransactionPrivilegeReaderImp::ReadNext  ) 
 

Advances the reader to the next item. The default position of the reader is prior to the first item. Therefore you must call ReadNext to begin accessing any data.

Returns:
Returns true if there is a next item

__sealed System::Void OSGeo::FDO::Commands::LongTransaction::ILongTransactionPrivilegeReaderImp::ReleaseUnmanagedObject  )  [protected, virtual]
 

DOXYGEN-IGNORE

Reimplemented from OSGeo::FDO::Runtime::Disposable.


Comments or suggestions? Send us feedback.