private uint RetrievePermissionsList(FolderTypeEnum folderType, uint folderHandle, RequestBufferFlags requestBufferFlags)
{
this.responseSOHs = this.DoRopCall(this.CreateGetPermissionsTableRequestBuffer(requestBufferFlags), (uint)folderHandle, ref this.response, ref this.rawData);
RopGetPermissionsTableResponse getPermissionsTableResponse = (RopGetPermissionsTableResponse)this.response;
Site.Assert.AreEqual<uint>(UINT32SUCCESS, getPermissionsTableResponse.ReturnValue, "0 indicates the RopGetPermissionsTable operates successfully.");
this.VerifyGetPermissionHandle(getPermissionsTableResponse.ReturnValue);
this.VerifyReturnValueSuccessForGetPermission(getPermissionsTableResponse.ReturnValue);
uint tableHandle = this.responseSOHs[0][getPermissionsTableResponse.OutputHandleIndex];
PropertyTag[] propertyTags = this.CreateHierarchyTablePropertyTagsForPermissionUser();
this.DoRopCall(this.CreateSetColumnsRequestBuffer(propertyTags), tableHandle, ref this.response, ref this.rawData);
RopSetColumnsResponse ropSetColumnsResponse = (RopSetColumnsResponse)this.response;
Site.Assert.AreEqual<uint>(UINT32SUCCESS, ropSetColumnsResponse.ReturnValue, "0 indicates the RopSetColumns operates successfully.");
this.DoRopCall(this.CreateQueryRowsRequestBuffer(), tableHandle, ref this.response, ref this.rawData);
RopQueryRowsResponse queryRowsResponse = (RopQueryRowsResponse)this.response;
return queryRowsResponse.ReturnValue;
}