 | RemLookupGetACLs Method |
Paperwork .Net Kütüphanesi
Yetki setleri listesi
Namespace:
Paperwork.Connect
Assembly:
Paperwork.Connect (in Paperwork.Connect.dll) Version: 5.0.0.0
Syntaxpublic ObservableCollection<LookupItem> GetACLs(
string aclName,
bool onlyPublic = true,
string usages = ""
)
Parameters
- aclName
- Type: SystemString
Yetki setlerini adına göre filtrelemek için kullanılır. Boş geçilirse tüm yetki setlerini dönecektir. - onlyPublic (Optional)
- Type: SystemBoolean
- usages (Optional)
- Type: SystemString
Return Value
Type:
ObservableCollectionLookupItem ObservableCollection tipinde Acl ismini döner.
Examplespublic void GetACLs()
{
string aclName = string.Empty;
ObservableCollection<LookupItem> getacls = p.rLookup.GetACLs(aclName);
foreach (LookupItem acl in getacls)
{
Console.WriteLine("Yetki seti nesne numarası:{0}, Adı:{1} ", acl.ObjectId, acl.Name);
}
}
See Also