get name of access item in AADMSBUFFER_ACCE buffer.

I'm trying to modify the access rights to a folder. I'm using aaApi_SelectAccessControlDataBuffer to get the Access Entries and I can loop through the buffer and get things like the member type and memberid (ACCE_PROP_MEMTYPE, ACCE_PROP_MEMID) but I don't see a property for the name of the access entry in the buffer. I was able to modify the access rights using  aaApi_ApplyAccessControlList. but that was just modifying all access entries on the buffer. for example maybe on a certain folder I have 3 access entries

Internal, External, and Admin. internal and external are user lists and admin is a group. while looping the buffer I can get the type to know the difference admin and the rest. but I want to just check the name to make sure I'm changing the right access entry.

How would I go about getting the name of a specific access entry?  anyone know of the api call I need?

thanks

JD

Parents
  • I would guess that you would need to call a different function based on the member types.  aaApi_SelectUserList, aaApi_SelectUser, aaApi_SelectGroup, then use aaApi_GetUserListStringProperty, aaApi_GetUserStringProperty, or aaApi_GetGroupStringProperty to get the name of the User, User List or Group.

    The property name will also vary with the type: USRLST_PROP_NAME, GROUP_PROP_NAME, or USER_PROP_NAME (or USER_PROP_DESC)

Reply
  • I would guess that you would need to call a different function based on the member types.  aaApi_SelectUserList, aaApi_SelectUser, aaApi_SelectGroup, then use aaApi_GetUserListStringProperty, aaApi_GetUserStringProperty, or aaApi_GetGroupStringProperty to get the name of the User, User List or Group.

    The property name will also vary with the type: USRLST_PROP_NAME, GROUP_PROP_NAME, or USER_PROP_NAME (or USER_PROP_DESC)

Children
No Data