LumiSoft Net Help
GetFolderRights Method (folder, identifier)
Namespaces ► LumiSoft.Net.IMAP.Client ► IMAP_Client ► GetFolderRights(String, String)
Gets rights which can be set for the specified identifier.
Declaration Syntax

C# | Visual Basic | Visual C++ | F#

    public IMAP_r_u_ListRights[] GetFolderRights(
    	string folder,
    	string identifier
    )

    Public Function GetFolderRights (
    	folder As String,
    	identifier As String
    ) As IMAP_r_u_ListRights()

    public:
    array<IMAP_r_u_ListRights^>^ GetFolderRights(
    	String^ folder,
    	String^ identifier
    )

    member GetFolderRights :
            folder : string *
            identifier : string -> IMAP_r_u_ListRights[]

Parameters

folder (String)
  Folder name with path.

identifier (String)
  ACL entry identifier. Normally this is user or group name.

Return Value
array<IMAP_r_u_ListRights>[]()[][]
Returns LISTRIGHTS responses.
Exceptions

Exception | Condition
--- | ---
ObjectDisposedException | Is raised when this object is disposed and and this method is accessed.
InvalidOperationException | Is raised when IMAP client is not in valid state. For example 'not connected'.
ArgumentNullException | Is raised whenfolder or identifier is null reference.
ArgumentException | Is raised when any of the arguments has invalid value.
IMAP_ClientException | Is raised when server refuses to complete this command and returns error.

Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119