LumiSoft Net Help
SetFolderAcl Method (folder, user, setType, permissions)
Namespaces ► LumiSoft.Net.IMAP.Client ► IMAP_Client ► SetFolderAcl(String, String, IMAP_Flags_SetType, IMAP_ACL_Flags)
Sets the specified folder ACL.
Declaration Syntax

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

    public void SetFolderAcl(
    	string folder,
    	string user,
    	IMAP_Flags_SetType setType,
    	IMAP_ACL_Flags permissions
    )

    Public Sub SetFolderAcl (
    	folder As String,
    	user As String,
    	setType As IMAP_Flags_SetType,
    	permissions As IMAP_ACL_Flags
    )

    public:
    void SetFolderAcl(
    	String^ folder,
    	String^ user,
    	IMAP_Flags_SetType setType,
    	IMAP_ACL_Flags permissions
    )

    member SetFolderAcl :
            folder : string *
            user : string *
            setType : IMAP_Flags_SetType *
            permissions : IMAP_ACL_Flags -> unit

Parameters

folder (String)
  Folder name with path.

user (String)
  User name.

setType (IMAP_Flags_SetType)
  Specifies how flags are set.

permissions (IMAP_ACL_Flags)
  ACL permissions.

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 when folder or user 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