 | RemPresetsGetEmailUsers Method |
Paperwork .Net Kütüphanesi
E-mail adresi tanımlı olan tüm kullanıcı ve/veya grup bilgilerini döner.
Namespace:
Paperwork.Connect
Assembly:
Paperwork.Connect (in Paperwork.Connect.dll) Version: 5.0.0.0
Syntaxpublic a_UserList GetEmailUsers(
int memberType = 1,
int pageIndex = -1
)
Parameters
- memberType (Optional)
- Type: SystemInt32
0:Kullanıcı ve grup, 1:Kullanıcı, 2:Grup - pageIndex (Optional)
- Type: SystemInt32
Sayfa numarası
Return Value
Type:
a_UserList Verilen parametrelere göre kullanıcıların mail bilgilerini döndürür.
Examplespublic void GetEmailUsers()
{
a_UserList info = p.rPreset.GetEmailUsers();
foreach (a_UserInfo user in info.Items)
Console.WriteLine("Kullanıcı Adı: {0}, E-mail: {1}", user.UserName, user.Email);
Console.ReadLine();
}
See Also