LumiSoft Mail Server User API
Add Method (userOrGroup, permissions)
Namespaces > LumiSoft.MailServer.API.UserAPI > UserFolderAclCollection > Add(String, IMAP_ACL_Flags)
Adds specified user or group permissions to active folder.
Syntax

C# | Visual Basic | Managed C++

    public UserFolderAcl Add (
    	string userOrGroup,
    	IMAP_ACL_Flags permissions
    )

    Public Function Add ( _
    	userOrGroup As String, _
    	permissions As IMAP_ACL_Flags _
    ) As UserFolderAcl

    public:
    UserFolderAcl^ Add (
    	String^ userOrGroup,
    	IMAP_ACL_Flags permissions
    )

Parameters

userOrGroup (String)
  User or group.
permissions (IMAP_ACL_Flags)
  Permissions to allow.

Return Value
Returns added UserFolderAcl.

Assembly: UserAPI Version: 1.0.0.0 (Module: UserAPI)